linux/conf/nginx/inc/restrict-wp-access

10 lines
179 B
Plaintext

location /wp-admin {
include inc/allow-local;
error_page 403 $scheme://$host/404;
}
location ~ /wp-login.php {
include inc/allow-local;
error_page 403 $scheme://$host/404;
}