mirror of
https://github.com/bitwarden/server.git
synced 2025-02-16 01:51:21 +01:00
update nginx proxy for portal pathing
This commit is contained in:
parent
00a1e8e833
commit
526bdfdb05
@ -108,10 +108,6 @@ server {
|
||||
proxy_pass http://sso:5000/;
|
||||
}
|
||||
|
||||
location /portal/ {
|
||||
proxy_pass http://portal:5000/;
|
||||
}
|
||||
|
||||
location /icons/ {
|
||||
proxy_pass http://icons:5000/;
|
||||
}
|
||||
@ -134,6 +130,15 @@ server {
|
||||
proxy_pass http://admin:5000;
|
||||
{{#if Ssl}}
|
||||
include /etc/nginx/security-headers-ssl.conf;
|
||||
{{/if}}
|
||||
include /etc/nginx/security-headers.conf;
|
||||
add_header X-Frame-Options SAMEORIGIN;
|
||||
}
|
||||
|
||||
location /portal {
|
||||
proxy_pass http://portal:5000;
|
||||
{{#if Ssl}}
|
||||
include /etc/nginx/security-headers-ssl.conf;
|
||||
{{/if}}
|
||||
include /etc/nginx/security-headers.conf;
|
||||
add_header X-Frame-Options SAMEORIGIN;
|
||||
|
Loading…
Reference in New Issue
Block a user