Create custom nginx files

This commit is contained in:
David Duque
2020-04-20 18:17:41 +01:00
parent 830248bf66
commit 72070ee7bd
2 changed files with 13 additions and 3 deletions
+1 -1
View File
@@ -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;