diff --git a/etc/nginx/locations/https-available/wazo-auth b/etc/nginx/locations/https-available/wazo-auth index bac928543..a051b804d 100644 --- a/etc/nginx/locations/https-available/wazo-auth +++ b/etc/nginx/locations/https-available/wazo-auth @@ -2,15 +2,18 @@ location ^~ /api/auth/0.1/backends { proxy_pass http://127.0.0.1:9497/0.1/backends; include /etc/nginx/wazo-auth-shared.conf; include /etc/nginx/wazo-no-auth-shared[.]conf; + include /etc/nginx/cors[.]conf; } location ^~ /api/auth/0.1/status { proxy_pass http://127.0.0.1:9497/0.1/status; include /etc/nginx/wazo-auth-shared.conf; include /etc/nginx/wazo-no-auth-shared[.]conf; + include /etc/nginx/cors[.]conf; } location ^~ /api/auth/ { proxy_pass http://127.0.0.1:9497/; include /etc/nginx/wazo-auth-shared.conf; + include /etc/nginx/cors[.]conf; }