Skip to content
Snippets Groups Projects
Commit 000ecfe8 authored by mhy's avatar mhy
Browse files

fix: 修改nginx配置

parent 78b7105c
No related branches found
No related tags found
Loading
......@@ -42,6 +42,9 @@
add_header Access-Control-Allow-Headers 'DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization';
proxy_pass http://PROXY_LOGIN_SERVICE;
proxy_redirect default;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location /mainBody {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment