Browse Source

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

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

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

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

Loading…
Cancel
Save