Merge pull request #1569 from SkynetLabs/enable-cors-on-logout-endpoint
enable cors on /logout endpoint
This commit is contained in:
commit
a8dda639da
|
@ -41,3 +41,10 @@ location /api/login {
|
||||||
rewrite /api/(.*) /$1 break;
|
rewrite /api/(.*) /$1 break;
|
||||||
proxy_pass http://accounts:3000;
|
proxy_pass http://accounts:3000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /api/logout {
|
||||||
|
include /etc/nginx/conf.d/include/cors;
|
||||||
|
|
||||||
|
rewrite /api/(.*) /$1 break;
|
||||||
|
proxy_pass http://accounts:3000;
|
||||||
|
}
|
||||||
|
|
Reference in New Issue