mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-08-22 14:23:48 -07:00
Account for subfolders in *warden
This commit is contained in:
parent
6681cadaa7
commit
be77f99548
4 changed files with 63 additions and 21 deletions
|
@ -1,4 +1,4 @@
|
|||
## Version 2021/05/18
|
||||
## Version 2022/02/08
|
||||
# make sure that your dns has a cname set for vaultwarden and that your vaultwarden container is not using a base url
|
||||
# make sure your vaultwarden container is named "vaultwarden"
|
||||
# set the environment variable WEBSOCKET_ENABLED=true on your vaultwarden container
|
||||
|
@ -40,7 +40,7 @@ server {
|
|||
|
||||
}
|
||||
|
||||
location /admin {
|
||||
location ~ (/vaultwarden)?/admin {
|
||||
# enable the next two lines for http auth
|
||||
#auth_basic "Restricted";
|
||||
#auth_basic_user_file /config/nginx/.htpasswd;
|
||||
|
@ -61,7 +61,7 @@ server {
|
|||
|
||||
}
|
||||
|
||||
location /notifications/hub {
|
||||
location ~ (/vaultwarden)?/notifications/hub {
|
||||
include /config/nginx/proxy.conf;
|
||||
include /config/nginx/resolver.conf;
|
||||
set $upstream_app vaultwarden;
|
||||
|
@ -71,7 +71,7 @@ server {
|
|||
|
||||
}
|
||||
|
||||
location /notifications/hub/negotiate {
|
||||
location ~ (/vaultwarden)?/notifications/hub/negotiate {
|
||||
include /config/nginx/proxy.conf;
|
||||
include /config/nginx/resolver.conf;
|
||||
set $upstream_app vaultwarden;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue