Create custom nginx files

This commit is contained in:
David Duque committed 2020-04-20 18:17:41 +01:00
1 parent 830248bf66
commit 72070ee7bd
2 files changed
+13 -3

No files matched your search

+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;