ansible-config/roles/nginx-extra/files/snippets/no-unsafe-files.conf
2020-04-08 23:13:47 +02:00

9 lines
153 B
Plaintext

disable_symlinks if_not_owner from=$document_root;
# Do not serve dotfiles.
location ~ /\. {
deny all;
access_log off;
log_not_found off;
}