Changes to Dockerfile to fix error in connecting to sockets
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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"],
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user