🔖 nginx 的 upstream 名称不能使用下划线?不存在的。

pull/2/head
Zhang Peng 2018-07-20 20:50:58 +08:00
parent 4fce455fe0
commit 90cbcccbc2
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
upstream demo01-server { upstream demo01_server {
server 127.0.0.1:9010; server 127.0.0.1:9010;
} }
@ -17,6 +17,6 @@ server {
root ../../../javaapp/src/main/webapp; root ../../../javaapp/src/main/webapp;
location / { location / {
proxy_pass http://demo01-server; proxy_pass http://demo01_server;
} }
} }