summaryrefslogtreecommitdiff
path: root/debian/etc/nginx
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-07-30 15:50:45 +0200
committerFlorian Dold <florian@dold.me>2021-07-30 15:50:59 +0200
commit6dc199554f0bb1692a86240ec8ae032d97ccf325 (patch)
tree3509dd40dfa508617d93d405ecf48b900c2581c5 /debian/etc/nginx
parent2daaf1531092836c12b32c1c05261f598575fbb3 (diff)
downloadanastasis-6dc199554f0bb1692a86240ec8ae032d97ccf325.tar.gz
anastasis-6dc199554f0bb1692a86240ec8ae032d97ccf325.tar.bz2
anastasis-6dc199554f0bb1692a86240ec8ae032d97ccf325.zip
debian: socket location
Diffstat (limited to 'debian/etc/nginx')
-rw-r--r--debian/etc/nginx/sites-available/anastasis20
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 @@
-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";
+server {
+ listen 80;
+ listen [::]:80;
-} \ No newline at end of file
+ # server_name example.com
+
+ location /anastasis/ {
+ proxy_pass http://unix:/run/anastasis/httpd/anastasis-http.sock;
+ proxy_redirect off;
+ proxy_set_header Host $host;
+ #proxy_set_header X-Forwarded-Host "example.com";
+ #proxy_set_header X-Forwarded-Proto "https";
+ }
+}