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

9 lines
153 B
Text
Raw Normal View History

2020-04-08 23:13:47 +02:00
disable_symlinks if_not_owner from=$document_root;
# Do not serve dotfiles.
location ~ /\. {
deny all;
access_log off;
log_not_found off;
}