summaryrefslogtreecommitdiff
path: root/guix/etc/nginx/proxy_params
diff options
context:
space:
mode:
authorNils Gillmann <ng0@n0.is>2018-09-27 19:24:10 +0000
committerNils Gillmann <ng0@n0.is>2018-09-27 19:24:10 +0000
commit430db6a55226ea4a9c33e322edc4a3a7b325393c (patch)
treed9d0a25b6b3103bcda84d0aa32c007fa3c2d1302 /guix/etc/nginx/proxy_params
parent82741d1288c8755bfdf57d0e0ce77d6ee121b913 (diff)
downloaddeployment-430db6a55226ea4a9c33e322edc4a3a7b325393c.tar.gz
deployment-430db6a55226ea4a9c33e322edc4a3a7b325393c.tar.bz2
deployment-430db6a55226ea4a9c33e322edc4a3a7b325393c.zip
complications with the way guix builds are made lead me to work on the content of etc in a copied, not symlinked location.
Signed-off-by: Nils Gillmann <ng0@n0.is>
Diffstat (limited to 'guix/etc/nginx/proxy_params')
-rw-r--r--guix/etc/nginx/proxy_params4
1 files changed, 4 insertions, 0 deletions
diff --git a/guix/etc/nginx/proxy_params b/guix/etc/nginx/proxy_params
new file mode 100644
index 0000000..df75bc5
--- /dev/null
+++ b/guix/etc/nginx/proxy_params
@@ -0,0 +1,4 @@
+proxy_set_header Host $http_host;
+proxy_set_header X-Real-IP $remote_addr;
+proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+proxy_set_header X-Forwarded-Proto $scheme;