replace return 403 with deny all for data subdir in nginx
This commit is contained in:
parent
cb1a9dfad9
commit
c1a178e1f5
|
@ -27,8 +27,7 @@
|
|||
alias /usr/local/lib/rainloop/;
|
||||
}
|
||||
location ~ /mail/data/.* {
|
||||
# A ~-style location is needed to give this precedence over the next block.
|
||||
return 403;
|
||||
deny all;
|
||||
}
|
||||
location ~ /mail/.*\.php {
|
||||
# note: ~ has precendence over a regular location block
|
||||
|
|
Loading…
Reference in New Issue