diff options
Diffstat (limited to 'debian/etc/nginx/sites-available/anastasis')
-rw-r--r-- | debian/etc/nginx/sites-available/anastasis | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/debian/etc/nginx/sites-available/anastasis b/debian/etc/nginx/sites-available/anastasis index 6828f0b..4b39229 100644 --- a/debian/etc/nginx/sites-available/anastasis +++ b/debian/etc/nginx/sites-available/anastasis | |||
@@ -1,8 +1,14 @@ | |||
1 | location /anastasis/ { | 1 | server { |
2 | proxy_pass http://unix:/var/lib/anastasis/httpd/anastasis.sock; | 2 | listen 80; |
3 | proxy_redirect off; | 3 | listen [::]:80; |
4 | proxy_set_header Host $host; | ||
5 | proxy_set_header X-Forwarded-Host "example.com"; | ||
6 | proxy_set_header X-Forwarded-Proto "https"; | ||
7 | 4 | ||
8 | } \ No newline at end of file | 5 | # server_name example.com |
6 | |||
7 | location /anastasis/ { | ||
8 | proxy_pass http://unix:/run/anastasis/httpd/anastasis-http.sock; | ||
9 | proxy_redirect off; | ||
10 | proxy_set_header Host $host; | ||
11 | #proxy_set_header X-Forwarded-Host "example.com"; | ||
12 | #proxy_set_header X-Forwarded-Proto "https"; | ||
13 | } | ||
14 | } | ||