diff options
Diffstat (limited to 'genenetwork/services/genenetwork.scm')
-rw-r--r-- | genenetwork/services/genenetwork.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/genenetwork/services/genenetwork.scm b/genenetwork/services/genenetwork.scm index 2c53bfb..f37a078 100644 --- a/genenetwork/services/genenetwork.scm +++ b/genenetwork/services/genenetwork.scm @@ -303,7 +303,8 @@ a @code{<genenetwork-configuration>} record." (uri "/") (body (list (string-append "proxy_pass http://localhost:" (number->string gn2-port) ";") - "proxy_set_header Host $host;"))) + "proxy_set_header Host $host;" + "proxy_set_header X-Forwarded-Proto $scheme;"))) (nginx-location-configuration (uri "/api3/") (body (list "rewrite /api3/(.*) /api/$1 break;" |