Revert "block Wordpress XML-RPC endpoint"

This commit is contained in:
cloudpanel-io
2024-12-05 13:49:00 +01:00
committed by GitHub
parent 7b786f8283
commit cb67663b16
3 changed files with 3 additions and 15 deletions

View File

@@ -27,10 +27,6 @@ server {
deny all;
}
location = /xmlrpc.php {
deny all;
}
location ~/(wp-admin/|wp-login.php) {
#auth_basic "Restricted Area";
#auth_basic_user_file /home/site-user/.htpasswd;
@@ -114,4 +110,4 @@ server {
if (-f $request_filename) {
break;
}
}
}