Skip to content

Commit

Permalink
update nginx.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
yukukotani committed Sep 12, 2020
1 parent 703e0c0 commit bdfa437
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,9 @@ http {
#gzip on;

upstream app {
server 10.160.85.101:8888 fail_timeout=0;
server 10.160.85.102:8888 fail_timeout=0;
server 10.160.85.103:8888 fail_timeout=0;
keepalive 16;
server 10.160.85.101:8888;
# server 10.160.85.102:8888 fail_timeout=0;
server 10.160.85.103:8888;
}

server {
Expand All @@ -49,8 +48,7 @@ http {
}

server {
listen 8888 default_server;
listen [::]:8888 default_server;
listen 0.0.0.0:8888;

location /api {
proxy_pass http://localhost:1323;
Expand All @@ -59,9 +57,5 @@ http {
location /initialize {
proxy_pass http://localhost:1323;
}

location / {
root /www/data;
}
}
}

0 comments on commit bdfa437

Please sign in to comment.