This commit is contained in:
Stefan Wieczorek
2024-12-05 14:27:57 +01:00
parent 2a2a24c151
commit 89b8c1ee6a
3 changed files with 12 additions and 0 deletions

View File

@@ -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;