ansible-config/roles/nginx/files/snippets/no-unsafe-files.conf
Alexander Dietrich 7956d09b3e New nginx role
2018-11-10 00:20:18 +01:00

9 lines
143 B
Plaintext

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