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

9 lines
143 B
Plaintext
Raw Normal View History

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