You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
454 B
Plaintext

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;
return 404;
}
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
include {{ nginx_snippets_directory }}/resolver.conf;