1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-22 12:15:36 +01:00

correct nginx sso pathing

This commit is contained in:
Kyle Spearrin 2020-08-28 13:44:50 -04:00
parent f0210cd798
commit 6e7d618e52

View File

@ -100,10 +100,6 @@ server {
proxy_pass http://api:5000/; proxy_pass http://api:5000/;
} }
location /sso/ {
proxy_pass http://sso:5000/;
}
location /icons/ { location /icons/ {
proxy_pass http://icons:5000/; proxy_pass http://icons:5000/;
} }
@ -122,6 +118,15 @@ server {
proxy_pass http://events:5000/; proxy_pass http://events:5000/;
} }
location /sso {
proxy_pass http://sso:5000;
{{#if Ssl}}
include /etc/nginx/security-headers-ssl.conf;
{{/if}}
include /etc/nginx/security-headers.conf;
add_header X-Frame-Options SAMEORIGIN;
}
location /identity { location /identity {
proxy_pass http://identity:5000; proxy_pass http://identity:5000;
{{#if Ssl}} {{#if Ssl}}