Browse Source

增加第三方登录回调地址nginx配置

test
smallchill 5 years ago
parent
commit
ec378076bd
  1. 6
      script/docker/app/nginx/web/nginx.conf

6
script/docker/app/nginx/web/nginx.conf

@ -46,7 +46,11 @@ http {
}
location ^~/api {
location ^~ /oauth/redirect {
rewrite ^(.*)$ /index.html break;
}
location ^~ /api {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

Loading…
Cancel
Save