nginx修改
This commit is contained in:
@@ -125,7 +125,7 @@ server {
|
|||||||
|
|
||||||
# 后端 API 代理
|
# 后端 API 代理
|
||||||
location /urban-lifeline/ {
|
location /urban-lifeline/ {
|
||||||
proxy_pass http://gateway/urban-lifeline/;
|
proxy_pass http://gateway/;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ server {
|
|||||||
|
|
||||||
# 后端 API 代理
|
# 后端 API 代理
|
||||||
location /urban-lifeline/ {
|
location /urban-lifeline/ {
|
||||||
proxy_pass http://gateway/urban-lifeline/;
|
proxy_pass http://gateway/;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
|||||||
Reference in New Issue
Block a user