ansible-config/roles/nginx/files/snippets/no-unsafe-files.conf
2018-11-17 21:23:45 +01: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;
}