diff options
Diffstat (limited to 'debian/etc/nginx/sites-available/anastasis')
-rw-r--r-- | debian/etc/nginx/sites-available/anastasis | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/etc/nginx/sites-available/anastasis b/debian/etc/nginx/sites-available/anastasis new file mode 100644 index 0000000..6828f0b --- /dev/null +++ b/debian/etc/nginx/sites-available/anastasis | |||
@@ -0,0 +1,8 @@ | |||
1 | location /anastasis/ { | ||
2 | proxy_pass http://unix:/var/lib/anastasis/httpd/anastasis.sock; | ||
3 | proxy_redirect off; | ||
4 | proxy_set_header Host $host; | ||
5 | proxy_set_header X-Forwarded-Host "example.com"; | ||
6 | proxy_set_header X-Forwarded-Proto "https"; | ||
7 | |||
8 | } \ No newline at end of file | ||