pull/371/head
wuyibo 2022-08-31 17:09:34 +08:00
parent 61db408f8f
commit cd07e8ab70
1 changed files with 7 additions and 1 deletions

View File

@ -19,7 +19,13 @@ http {
try_files $uri $uri/ /index.html;
index index.html index.htm;
}
location /{
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header REMOTE-HOST $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://192.168.1.211:32002/;
}
location /prod-api/{
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;