aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-08-13 14:08:54 -0500
committerFrederick Muriuki Muriithi2024-08-13 14:08:54 -0500
commitedbc17e40b27737b215d54b492cc82a781ad42dd (patch)
tree450e56c8919831f17168bbcb06b5f6614fcf4f95
parente8b7dc737d9aedb9d6675bdb0ca80095aeb8ea18 (diff)
downloadgn-machines-edbc17e40b27737b215d54b492cc82a781ad42dd.tar.gz
Forward the scheme to the client to generate correct URIs.
-rw-r--r--genenetwork/services/genenetwork.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/genenetwork/services/genenetwork.scm b/genenetwork/services/genenetwork.scm
index 37793a5..34d70df 100644
--- a/genenetwork/services/genenetwork.scm
+++ b/genenetwork/services/genenetwork.scm
@@ -588,6 +588,7 @@ a @code{<genenetwork-configuration>} record."
(body (list (string-append "proxy_pass http://localhost:"
(number->string port) ";")
"proxy_set_header Host $host;"
+ "proxy_set_header X-Forwarded-Proto $scheme;"
"client_max_body_size 500M;")))))))))
(define gn-uploader-service-type