|
|
@ -27,10 +27,10 @@ http { |
|
|
|
gzip_vary on; |
|
|
|
gzip_disable "MSIE [1-6]\."; |
|
|
|
upstream tianhe { |
|
|
|
server localhost:90 weight=10 max_fails=3 fail_timeout=10s; |
|
|
|
server localhost:28029 weight=10 max_fails=3 fail_timeout=10s; |
|
|
|
} |
|
|
|
server { |
|
|
|
listen 82; |
|
|
|
listen 28021; |
|
|
|
server_name_in_redirect off; |
|
|
|
server_name _; |
|
|
|
location /api/ { |
|
|
|