Changes to Dockerfile to fix error in connecting to sockets

This commit is contained in:
Karmaa
2025-03-11 23:48:50 -05:00
parent 3767a58220
commit 4027c6a041
2 changed files with 1 additions and 9 deletions

View File

@@ -27,10 +27,6 @@ http {
proxy_set_header Connection 'upgrade'; proxy_set_header Connection 'upgrade';
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade; proxy_cache_bypass $http_upgrade;
# Timeout settings
proxy_read_timeout 86400s;
proxy_send_timeout 86400s;
} }
# Proxy database requests # Proxy database requests
@@ -41,10 +37,6 @@ http {
proxy_set_header Connection 'upgrade'; proxy_set_header Connection 'upgrade';
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade; proxy_cache_bypass $http_upgrade;
# Timeout settings
proxy_read_timeout 86400s;
proxy_send_timeout 86400s;
} }
# Error pages # Error pages

View File

@@ -10,7 +10,7 @@ if (socket === null) {
? "http://localhost:8082" ? "http://localhost:8082"
: "/", : "/",
{ {
path: "/database-socket.io", path: "/database-socket.io/",
transports: ["websocket", "polling"], transports: ["websocket", "polling"],
} }
); );