From f957ca254534569eac09c3ea06a44025a1a60ca7 Mon Sep 17 00:00:00 2001 From: pierre Date: Wed, 22 Jul 2026 23:32:33 +0100 Subject: [PATCH] removing the auto deny rule for now until I figure out the network problem, nginx receive a private ip instead of the public one --- terraform/nginx_config.tftpl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/terraform/nginx_config.tftpl b/terraform/nginx_config.tftpl index 642066a..30230f5 100644 --- a/terraform/nginx_config.tftpl +++ b/terraform/nginx_config.tftpl @@ -47,12 +47,12 @@ server { You are banned!"; } - location ^~ /wp-content { - # Logs the IP in "deny IP;" format to your specific file - access_log /etc/nginx/blacklisted.d/blacklisted-sessions.conf deny_style; - access_log /etc/nginx/blacklisted.memory.d/blacklisted-sessions.conf deny_style; - return 444; - } + #location ^~ /wp-content { + ## Logs the IP in "deny IP;" format to your specific file + # access_log /etc/nginx/blacklisted.d/blacklisted-sessions.conf deny_style; + # access_log /etc/nginx/blacklisted.memory.d/blacklisted-sessions.conf deny_style; + # return 444; + #} access_log /var/log/nginx/access.log my_custom_format; access_log /var/log/nginx/ip_audit.log ip_audit;