Skip to content

Commit bdfa437

Browse files
committed
update nginx.conf
1 parent 703e0c0 commit bdfa437

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

nginx.conf

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,9 @@ http {
2424
#gzip on;
2525

2626
upstream app {
27-
server 10.160.85.101:8888 fail_timeout=0;
28-
server 10.160.85.102:8888 fail_timeout=0;
29-
server 10.160.85.103:8888 fail_timeout=0;
30-
keepalive 16;
27+
server 10.160.85.101:8888;
28+
# server 10.160.85.102:8888 fail_timeout=0;
29+
server 10.160.85.103:8888;
3130
}
3231

3332
server {
@@ -49,8 +48,7 @@ http {
4948
}
5049

5150
server {
52-
listen 8888 default_server;
53-
listen [::]:8888 default_server;
51+
listen 0.0.0.0:8888;
5452

5553
location /api {
5654
proxy_pass http://localhost:1323;
@@ -59,9 +57,5 @@ http {
5957
location /initialize {
6058
proxy_pass http://localhost:1323;
6159
}
62-
63-
location / {
64-
root /www/data;
65-
}
6660
}
6761
}

0 commit comments

Comments
 (0)