diff --git a/v2-varnish/WordPress/WordPress b/v2-varnish/WordPress/WordPress index ac50838..a929c33 100644 --- a/v2-varnish/WordPress/WordPress +++ b/v2-varnish/WordPress/WordPress @@ -27,6 +27,10 @@ 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; @@ -110,4 +114,4 @@ server { if (-f $request_filename) { break; } -} \ No newline at end of file +}