mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-11-15 09:26:00 +01:00
Create custom nginx files
This commit is contained in:
2 files changed
+13
-3
No files matched your search
@@ -11,7 +11,7 @@
|
||||
# we're blocking dotfiles in the static hosted sites but not the FastCGI-
|
||||
# handled locations for Nextcloud (which serves user-uploaded files that might
|
||||
# have this pattern, see #414) or some of the other services.
|
||||
location ~ /\.(ht|svn|git|hg|bzr|*.conf) {
|
||||
location ~ /\.(ht|svn|git|hg|bzr|.*\.conf) {
|
||||
log_not_found off;
|
||||
access_log off;
|
||||
deny all;
|
||||
|
||||
Reference in new issue
Block a user