nginx/application global.conf: Added comment to excluding hidden files

dehydrated
Felix Stupp 4 years ago
parent 025f77736a
commit 0043d6255a
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -1,5 +1,8 @@
include {{ nginx_snippets_directory }}/acme;
# Do not serve hidden files except
# - well-known as common web standard
# - files prefixed with file because Nextcloud requires these locations for uploading files
location ~ /\.(?!well-known)(?!file).* {
log_not_found off;
access_log off;

Loading…
Cancel
Save