diff --git a/default.conf b/default.conf index b289af5..bb4c683 100644 --- a/default.conf +++ b/default.conf @@ -4,9 +4,9 @@ upstream api { server api:API_PORT; } -upstream node { +upstream web { ip_hash; - server node:NODE_PORT; + server web:NODE_PORT; } server { @@ -14,7 +14,7 @@ server { server_name localhost; location / { - proxy_pass http://node/; + proxy_pass http://web/; proxy_set_header Host $host; } @@ -37,4 +37,4 @@ server { root /var/www/html/openeats-static; try_files $uri /site-media/$uri; } -} \ No newline at end of file +}