diff --git a/dockerized/first-level-nginx/configs/node.conf b/dockerized/first-level-nginx/configs/node.conf index b15ee38..eaadf4e 100644 --- a/dockerized/first-level-nginx/configs/node.conf +++ b/dockerized/first-level-nginx/configs/node.conf @@ -48,7 +48,7 @@ http { # TODO requires https # return 301 https://$host$request_uri; - proxy_pass http://nodejs_cluster; + proxy_pass http://swarm1_cluster; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; @@ -69,7 +69,7 @@ http { # TODO requires https # return 301 https://$host$request_uri; - proxy_pass http://nodejs_cluster; + proxy_pass http://swarm1_cluster; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; @@ -88,7 +88,7 @@ http { root /var/www/default; location /{ - try_files $uri /$uri /index.php; + try_files $uri /$uri /index.html; } } }