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; }