Update vaultwarden.subdomain.conf.sample

without this section, desktop application can't sync when SSO is enable.

add exception for authelia/authentik
This commit is contained in:
Cyprien Flx 2024-01-22 18:49:22 +01:00 committed by GitHub
commit c7b54a57a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,4 +1,4 @@
## Version 2023/11/12 ## Version 2024/01/24
# make sure that your vaultwarden container is named vaultwarden # make sure that your vaultwarden container is named vaultwarden
# make sure that your dns has a cname set for vaultwarden # make sure that your dns has a cname set for vaultwarden
# if you are using bitwarden (the official image), use the bitwarden conf # if you are using bitwarden (the official image), use the bitwarden conf
@ -89,5 +89,15 @@ server {
set $upstream_proto http; set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port; proxy_pass $upstream_proto://$upstream_app:$upstream_port;
}
location ~ (/vaultwarden)?/identity/connect/token {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app vaultwarden;
set $upstream_port 80;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
} }
} }