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

@@ -31,10 +31,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;

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;

View File

@@ -21,10 +21,6 @@ server {
allow all;
}
location = /xmlrpc.php {
deny all;
}
{{settings}}
try_files $uri $uri/ /index.php?$args;