| Current Path : /opt/nginxhttpd_/etc/openresty_config/custom_security/ |
| Current File : //opt/nginxhttpd_/etc/openresty_config/custom_security/999-blockwpphp.conf |
map $uri $map_blockwpphp {
default 0;
~*/admin-ajax.php 0;
~*/wp-login.php 0;
~*/wp-content/themes/.*.php 0;
~*/wp-content/plugins/.*.php 0;
~/install.php 1;
~*/class-.*.php 1;
~*/wp-admin/(css|js|images)/.*.php 1;
~*/wp-includes/.*.php 1;
~*/wp-content/.*.php 1;
~*/wp-content/uploads/.*.php 1;
~wp-config.php 1;
~*/.well-known/.*.php 1;
}