mirror of
https://github.com/cloudpanel-io/vhost-templates.git
synced 2026-05-18 08:23:31 +08:00
Revert "block Wordpress XML-RPC endpoint"
This commit is contained in:
@@ -21,10 +21,6 @@ server {
|
||||
allow all;
|
||||
}
|
||||
|
||||
location = /xmlrpc.php {
|
||||
deny all;
|
||||
}
|
||||
|
||||
{{settings}}
|
||||
|
||||
try_files $uri $uri/ /index.php?$args;
|
||||
@@ -62,4 +58,4 @@ server {
|
||||
if (-f $request_filename) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user