enable cors on /logout endpoint

This commit is contained in:
Karol Wypchlo 2022-01-19 18:07:24 +01:00
parent 58c1e403e7
commit 377a154da0
No known key found for this signature in database
GPG Key ID: B515DE9EEBE241E1
1 changed files with 7 additions and 0 deletions

View File

@ -42,3 +42,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;
}