ansible-config/roles/nginx/files/snippets/no-unsafe-files.conf

9 lines
153 B
Plaintext
Raw Normal View History

disable_symlinks if_not_owner from=$document_root;
2018-11-03 16:20:39 +01:00
2015-08-29 23:44:14 +02:00
# Do not serve dotfiles.
location ~ /\. {
deny all;
access_log off;
log_not_found off;
}