From 68560f6d86672056ee12cf692b14ddc2f686d57e Mon Sep 17 00:00:00 2001 From: Ryan Noelk Date: Thu, 1 Feb 2018 20:02:32 -0500 Subject: [PATCH] changing node to web --- default.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 +}