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/; alias /usr/local/lib/rainloop/;
} }
location ~ /mail/data/.* { location ~ /mail/data/.* {
# A ~-style location is needed to give this precedence over the next block. deny all;
return 403;
} }
location ~ /mail/.*\.php { location ~ /mail/.*\.php {
# note: ~ has precendence over a regular location block # note: ~ has precendence over a regular location block