nginx适用,请参考以下规则
例如禁止访问/wp-admin/install.php
location ~ ^/wp-admin/install\\.php {
deny all;
log_not_found off;
access_log off;
}
nginx适用,请参考以下规则
例如禁止访问/wp-admin/install.php
location ~ ^/wp-admin/install\\.php {
deny all;
log_not_found off;
access_log off;
}
之前