From 7fd3e566ed029eedf43be16fe93b89f0f62a08b4 Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 30 Dec 2024 20:56:17 +0000 Subject: [PATCH] Update nginx config --- nginx/nginx.conf.template | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/nginx/nginx.conf.template b/nginx/nginx.conf.template index 07b01d7..f921f17 100644 --- a/nginx/nginx.conf.template +++ b/nginx/nginx.conf.template @@ -389,8 +389,22 @@ http { proxy_pass http://foundry-handler; } + location /change/socket.io/ { + proxy_pass http://change-handler; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $proxy_connection; + proxy_set_header Host $host; + + proxy_buffering off; + proxy_redirect off; + proxy_connect_timeout 90s; + proxy_send_timeout 90s; + proxy_read_timeout 90s; + } + location /change { - + # Set proxy headers proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;