mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-09-10 15:14:13 +08:00
First allow after deny folder location
parent
a5392382d2
commit
d91421e53b
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue