| Current Path : /opt/nginxhttpd_/etc/openresty_config/custom_security/ |
| Current File : //opt/nginxhttpd_/etc/openresty_config/custom_security/999-blockdevfiles.conf |
map $uri $map_blockdevfiles {
default 0;
~*/wp-config.* 1;
~*^.+\.(bak|log|old|orig|original|php#|php~|php_bak|save|swo|swp|sql)$ 1;
~*/\.(git|svn|ht|user|ini) 1;
~*(php\.ini|\.yaml|\.yml|\.inc)$ 1;
~*error_log 1;
~*(readme\.html|readme.txt|readme.md|license.txt)$ 1;
~*/(plugins|themes)/.+\.(txt|log|md)$ 1;
~*/vendor/*.php$ 1;
~(composer\.json|composer\.lock|config\.php)$ 1;
}