Switch to nginx-proxy
This commit is contained in:
@@ -376,7 +376,6 @@ http {
|
||||
client_max_body_size 300M;
|
||||
|
||||
location /foundry {
|
||||
|
||||
# Set proxy headers
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
@@ -385,23 +384,22 @@ http {
|
||||
# These are important to support WebSockets;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
|
||||
proxy_pass http://foundry-handler;
|
||||
}
|
||||
|
||||
location ~ ^/change/(socket\.io|peer) {
|
||||
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;
|
||||
location ~ ^/change/(socket\.io|peer) {
|
||||
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;
|
||||
}
|
||||
proxy_buffering off;
|
||||
proxy_redirect off;
|
||||
proxy_connect_timeout 90s;
|
||||
proxy_send_timeout 90s;
|
||||
proxy_read_timeout 90s;
|
||||
}
|
||||
|
||||
location /change {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user