block wordpress file uploaded php file rum

add below code to nginx .conf file.

 # block upload php files
location ~* /(?:uploads|files|wp-content|wp-includes)/.*.php$ {
deny all;
access_log off;
log_not_found off;
}

相关推荐

暂无评论

微信扫一扫,分享到朋友圈

block wordpress file uploaded php file rum