This commit is contained in:
Administrator
2024-05-15 17:01:32 +08:00
parent e8661e8a96
commit 4a3738fe2f

View File

@@ -11,7 +11,7 @@ server {
# API转发
location /api {
rewrite ^/api(.*)$ $1 break;
proxy_pass http://gateway:9100;
proxy_pass http://gateway:8081;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;