diff --git a/v2-http3/WordPress/WordPress b/v2-http3/WordPress/WordPress index 39f4828..52d9ecf 100644 --- a/v2-http3/WordPress/WordPress +++ b/v2-http3/WordPress/WordPress @@ -31,6 +31,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; @@ -117,4 +121,4 @@ server { if (-f $request_filename) { break; } -} \ No newline at end of file +}