replace return 403 with deny all for data subdir in nginx

This commit is contained in:
jvolkenant 2016-06-30 21:36:51 -07:00
parent cb1a9dfad9
commit c1a178e1f5
1 changed files with 1 additions and 2 deletions

View File

@ -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