Commit 5d67efc0 authored by tanyang's avatar tanyang

迁移华为云改造

parent 2512a06a
......@@ -15,6 +15,16 @@ server
try_files $uri $uri/ /index.html;
}
location /prod-api/ {
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# 后端服务地址
proxy_pass http://localhost:9098/;
}
location = /50x.html {
root html;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment