removing the auto deny rule for now until I figure out the network problem, nginx receive a private ip instead of the public one

This commit is contained in:
2026-07-22 23:32:33 +01:00
parent b1def329e9
commit f957ca2545
+6 -6
View File
@@ -47,12 +47,12 @@ server {
<b style=\"color:red; font-size:18pt; border:2pt solid black; padding:5pt;\">
You are banned!</b></center>";
}
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;