mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-06 04:51:33 -07:00
fix(vaultwarden): only match starting with /admin
This commit is contained in:
parent
79a256c79e
commit
a0edbd65b4
2 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ server {
|
|||
|
||||
}
|
||||
|
||||
location ~ (/vaultwarden)?/admin {
|
||||
location ~ ^(/vaultwarden)?/admin {
|
||||
# enable the next two lines for http auth
|
||||
#auth_basic "Restricted";
|
||||
#auth_basic_user_file /config/nginx/.htpasswd;
|
||||
|
|
|
@ -31,7 +31,7 @@ location ^~ /vaultwarden/ {
|
|||
|
||||
}
|
||||
|
||||
location ~ (/vaultwarden)?/admin {
|
||||
location ~ ^(/vaultwarden)?/admin {
|
||||
# enable the next two lines for http auth
|
||||
#auth_basic "Restricted";
|
||||
#auth_basic_user_file /config/nginx/.htpasswd;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue