First allow after deny folder location

Nilton Oliveira 2024-03-18 09:11:34 -03:00
parent a5392382d2
commit d91421e53b

@ -264,13 +264,15 @@ server {
return 403; return 403;
} }
location ~ ^/snappymail/v/.*/static/ {
allow all;
}
location ~ ^/(snappymail|data)/ { location ~ ^/(snappymail|data)/ {
deny all; deny all;
} }
location ~ ^/snappymail/v/*/static/ {
allow all;
}
### ###
# The actual root location # The actual root location