mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-09-08 06:04:14 +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;
|
||||
}
|
||||
|
||||
|
||||
location ~ ^/snappymail/v/.*/static/ {
|
||||
allow all;
|
||||
}
|
||||
|
||||
location ~ ^/(snappymail|data)/ {
|
||||
deny all;
|
||||
}
|
||||
|
||||
location ~ ^/snappymail/v/*/static/ {
|
||||
allow all;
|
||||
}
|
||||
|
||||
###
|
||||
# The actual root location
|
||||
|
|
Loading…
Add table
Reference in a new issue