mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2026-07-08 17:42:32 +02:00
fix(vaultwarden): only match starting with /admin
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user