🗝
summary refs log tree commit diff
path: root/nginx/nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'nginx/nginx.conf')
-rw-r--r--nginx/nginx.conf17
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;
+        }
+    }
 }