nginx修改

This commit is contained in:
2026-01-07 16:58:56 +08:00
parent 23f08dec09
commit 2e159ec318
2 changed files with 2 additions and 2 deletions

View File

@@ -125,7 +125,7 @@ server {
# 后端 API 代理
location /urban-lifeline/ {
proxy_pass http://gateway/urban-lifeline/;
proxy_pass http://gateway/;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;

View File

@@ -125,7 +125,7 @@ server {
# 后端 API 代理
location /urban-lifeline/ {
proxy_pass http://gateway/urban-lifeline/;
proxy_pass http://gateway/;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;