summaryrefslogtreecommitdiff
path: root/debian/conf/nginx.conf
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-07-30 10:38:27 +0200
committerChristian Grothoff <christian@grothoff.org>2021-07-30 10:38:27 +0200
commit7e669bcf6b6336ec429da949bcb4aa456971dba2 (patch)
treed19912f950d1cac1c38b857b7d5bdaba2289544e /debian/conf/nginx.conf
downloadanastasis-7e669bcf6b6336ec429da949bcb4aa456971dba2.tar.gz
anastasis-7e669bcf6b6336ec429da949bcb4aa456971dba2.tar.bz2
anastasis-7e669bcf6b6336ec429da949bcb4aa456971dba2.zip
folding history in preparation of GNU Anastasis v0.0.0 release
Diffstat (limited to 'debian/conf/nginx.conf')
-rw-r--r--debian/conf/nginx.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/conf/nginx.conf b/debian/conf/nginx.conf
new file mode 100644
index 0000000..6828f0b
--- /dev/null
+++ b/debian/conf/nginx.conf
@@ -0,0 +1,8 @@
+location /anastasis/ {
+ proxy_pass http://unix:/var/lib/anastasis/httpd/anastasis.sock;
+ proxy_redirect off;
+ proxy_set_header Host $host;
+ proxy_set_header X-Forwarded-Host "example.com";
+ proxy_set_header X-Forwarded-Proto "https";
+
+} \ No newline at end of file