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:
parent
f0210cd798
commit
6e7d618e52
@ -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}}
|
||||||
|
Loading…
Reference in New Issue
Block a user