diff options
| author | Arun Isaac | 2026-04-17 00:24:33 +0100 |
|---|---|---|
| committer | Arun Isaac | 2026-04-17 00:24:33 +0100 |
| commit | 2eca0f92e6ad002be21bbdbcff3d006a17197f33 (patch) | |
| tree | 3efd9cf747106faa0f7fc3b64851ec77f8b1dc22 | |
| parent | 68a5d13751674127b38dacc164a5ed8f638d44d2 (diff) | |
| download | guix-forge-main.tar.gz guix-forge-main.tar.lz guix-forge-main.zip | |
| -rw-r--r-- | guix/forge/klaus.scm | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/guix/forge/klaus.scm b/guix/forge/klaus.scm index cb5815d..11cdbd5 100644 --- a/guix/forge/klaus.scm +++ b/guix/forge/klaus.scm @@ -110,11 +110,10 @@ (list (nginx-location-configuration (uri "/") (body (list (socket->nginx-proxy-pass socket) - ;; Pass in the header fields of the original - ;; request. + ;; Pass in the host, scheme and header fields of + ;; the original request. "proxy_pass_request_headers on;" - ;; Let klaus know which domain the request was - ;; received for. + "proxy_set_header X-Forwarded-Proto $scheme;" "proxy_set_header Host $host;"))))))))) (define klaus-service-type |
