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
commit0d23eaba09a4878520bf346af4cead90d76829fc (patch)
treed930eacceff0b407b44abe55f01d8e3c5dfbfa34 /nginx.conf
parentAllow edited_timestamp to passthrough in handleMessage (diff)
downloadserver-0d23eaba09a4878520bf346af4cead90d76829fc.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