mirror of
https://github.com/cloudpanel-io/vhost-templates.git
synced 2026-05-18 16:33:30 +08:00
Revert "block Wordpress XML-RPC endpoint"
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user