socket.io first attempt

This commit is contained in:
NigeParis 2025-11-16 19:42:19 +01:00 committed by Maix0
parent 5a905a1239
commit cf6f3145b6
9 changed files with 4901 additions and 7 deletions

View file

@ -2,3 +2,17 @@
location /api/chat/ {
proxy_pass http://chat;
}
location /api/socket.io/ {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
proxy_read_timeout 3600s;
root /volumes/static/chat;
proxy_pass http://chat$uri;
# proxy_pass http://chat;
}