ansible-config/roles/nginx/files/snippets/no-unsafe-files.conf
2018-11-17 21:23:45 +01:00

8 lines
153 B
Text

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