From 9740c848c5def2da67c5774e0dc9200a26568b59 Mon Sep 17 00:00:00 2001 From: Kim Oliver Drechsel Date: Fri, 15 Nov 2024 20:56:59 +0100 Subject: [PATCH] block Wordpress XML-RPC endpoint --- v2/WordPress/WordPress | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/v2/WordPress/WordPress b/v2/WordPress/WordPress index 2dd7be5..0b548fc 100644 --- a/v2/WordPress/WordPress +++ b/v2/WordPress/WordPress @@ -21,6 +21,10 @@ server { allow all; } + location = /xmlrpc.php { + deny all; + } + {{settings}} try_files $uri $uri/ /index.php?$args; @@ -58,4 +62,4 @@ server { if (-f $request_filename) { break; } -} \ No newline at end of file +}