Fixed cluster reference and index.html

This commit is contained in:
Fabio Sinibaldi 2025-03-07 15:54:48 +01:00
parent 65483178af
commit 0d5949bd5e
1 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ http {
# TODO requires https # TODO requires https
# return 301 https://$host$request_uri; # return 301 https://$host$request_uri;
proxy_pass http://nodejs_cluster; proxy_pass http://swarm1_cluster;
proxy_http_version 1.1; proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade'; proxy_set_header Connection 'upgrade';
@ -69,7 +69,7 @@ http {
# TODO requires https # TODO requires https
# return 301 https://$host$request_uri; # return 301 https://$host$request_uri;
proxy_pass http://nodejs_cluster; proxy_pass http://swarm1_cluster;
proxy_http_version 1.1; proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade'; proxy_set_header Connection 'upgrade';
@ -88,7 +88,7 @@ http {
root /var/www/default; root /var/www/default;
location /{ location /{
try_files $uri /$uri /index.php; try_files $uri /$uri /index.html;
} }
} }
} }