diff options
Diffstat (limited to 'genenetwork-development.scm')
-rw-r--r-- | genenetwork-development.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/genenetwork-development.scm b/genenetwork-development.scm index 82e202a..8139635 100644 --- a/genenetwork-development.scm +++ b/genenetwork-development.scm @@ -1000,7 +1000,8 @@ GeneNetwork2 and GeneNetwork3 are listening on." (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 ;; Reverse proxy genenetwork3. (uri "/api3") |