Merge branch 'owncloud-dotfile-fix-pr' of https://github.com/brocktice/mailinabox into owncloud-dotfile-fix-pr

Conflicts:
	conf/nginx.conf
This commit is contained in:
Brock Tice 2015-05-27 10:37:48 -06:00
commit 53ffb38159
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ server {
alias /var/lib/mailinabox/mozilla-autoconfig.xml; alias /var/lib/mailinabox/mozilla-autoconfig.xml;
} }
# Disable viewing dotfiles (.htaccess, .svn, .git, etc.), but not under php-controlled pages # Disable viewing dotfiles (.htaccess, .svn, .git, etc.), but not under php-controlled pages
location ~ ^/(?!.*\.php).*/\.(ht|svn|git|bzr)$ { location ~ ^/(?!.*\.php).*/\.(ht|svn|git|bzr)$ {
log_not_found off; log_not_found off;