summary refs log tree commit diff
path: root/nginx.conf
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-25 18:24:21 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-25 23:35:18 +1000
commitf44f5d7ac2d24ff836c2e1d4b2fa58da04b13052 (patch)
treea6655c41bb3db79c30fd876b06ee60fe9cf70c9b /nginx.conf
parentAllow edited_timestamp to passthrough in handleMessage (diff)
downloadserver-f44f5d7ac2d24ff836c2e1d4b2fa58da04b13052.tar.xz
Refactor to mono-repo + upgrade packages
Diffstat (limited to 'nginx.conf')
-rw-r--r--nginx.conf20
1 files changed, 0 insertions, 20 deletions
diff --git a/nginx.conf b/nginx.conf
deleted file mode 100644
index a810567d..00000000
--- a/nginx.conf
+++ /dev/null
@@ -1,20 +0,0 @@
-# This is an example
-server {
-    server_name fosscord.example.com;
-    listen 80;
-    location / {
-            proxy_pass http://127.0.0.1:3001;
-            proxy_set_header Host $host;
-            proxy_pass_request_headers      on;
-            add_header Last-Modified $date_gmt;
-            add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
-            proxy_set_header  X-Real-IP $remote_addr;
-            proxy_set_header  X-Forwarded-Proto https;
-            proxy_set_header  X-Forwarded-For $remote_addr;
-            proxy_set_header  X-Forwarded-Host $remote_addr;
-            proxy_no_cache 1;
-            proxy_cache_bypass 1;
-            proxy_set_header Upgrade $http_upgrade;
-            proxy_set_header Connection "upgrade";
-    }
-}
\ No newline at end of file