diff options
author | mia <mia@mia.jetzt> | 2024-06-30 18:25:52 -0700 |
---|---|---|
committer | mia <mia@mia.jetzt> | 2024-06-30 18:25:52 -0700 |
commit | 56979efd3c0601e2b1c72ef5fb66512c81c1ccf7 (patch) | |
tree | 20c6f1d099b4825394de7ac32960ee4084891a20 /nginx | |
parent | 43b8b07f1e67e8c49cb4988192320266063debe6 (diff) | |
download | asylum-56979efd3c0601e2b1c72ef5fb66512c81c1ccf7.tar.gz asylum-56979efd3c0601e2b1c72ef5fb66512c81c1ccf7.zip |
add outskirts.town
Diffstat (limited to 'nginx')
-rw-r--r-- | nginx/nginx.conf | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf index ae6369e..b331ddd 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -42,6 +42,7 @@ http { listen [::]:80 default_server; default_type text/plain; + absolute_redirect off; root /srv/web/$host; index index.html; } @@ -123,4 +124,20 @@ http { js_content nginx.cat; } } + + # outskirts + server { + listen 80; + listen [::]:80; + server_name outskirts.town; + + location / { + proxy_pass http://localhost:6502; + proxy_http_version 1.1; + proxy_redirect off; + proxy_set_header Host $http_host; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $connection_upgrade; + } + } } |