From 56979efd3c0601e2b1c72ef5fb66512c81c1ccf7 Mon Sep 17 00:00:00 2001 From: mia Date: Sun, 30 Jun 2024 18:25:52 -0700 Subject: add outskirts.town --- nginx/nginx.conf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'nginx/nginx.conf') 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; + } + } } -- cgit 1.4.1