Skip to content

Commit

Permalink
changing node to web
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanNoelk authored Feb 2, 2018
1 parent 9fdbb7e commit 68560f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ upstream api {
server api:API_PORT;
}

upstream node {
upstream web {
ip_hash;
server node:NODE_PORT;
server web:NODE_PORT;
}

server {
listen 80;
server_name localhost;

location / {
proxy_pass http://node/;
proxy_pass http://web/;
proxy_set_header Host $host;
}

Expand All @@ -37,4 +37,4 @@ server {
root /var/www/html/openeats-static;
try_files $uri /site-media/$uri;
}
}
}

0 comments on commit 68560f6

Please sign in to comment.