mirror of
https://github.com/cloudpanel-io/vhost-templates.git
synced 2026-05-18 08:23:31 +08:00
block Wordpress XML-RPC endpoint
This commit is contained in:
committed by
GitHub
parent
a56b3ed165
commit
9740c848c5
@@ -21,6 +21,10 @@ server {
|
|||||||
allow all;
|
allow all;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location = /xmlrpc.php {
|
||||||
|
deny all;
|
||||||
|
}
|
||||||
|
|
||||||
{{settings}}
|
{{settings}}
|
||||||
|
|
||||||
try_files $uri $uri/ /index.php?$args;
|
try_files $uri $uri/ /index.php?$args;
|
||||||
|
|||||||
Reference in New Issue
Block a user