]> git.openstreetmap.org Git - chef.git/commitdiff
wordpress: block xmlrpc.php access for the moment
authorGrant Slater <github@firefishy.com>
Mon, 1 May 2023 19:21:49 +0000 (20:21 +0100)
committerGrant Slater <github@firefishy.com>
Mon, 1 May 2023 19:21:54 +0000 (20:21 +0100)
cookbooks/wordpress/templates/default/apache.erb

index bace93956726c240848572330d2af2887c2d43ef..67476b6f82160f46537b46722f42623810c27265 100644 (file)
@@ -96,4 +96,9 @@
   <Files ~ "~$">
     Require all denied
   </Files>
+
+  <Files "xmlrpc.php">
+    Require all denied
+  </Files>
+
 </VirtualHost>