Open killmasta93 opened 1 year ago
Also having this issue. Seems to not be working here in Debian 12, nginx 1.18.
I also made sure to include the file whitelist-ips.conf into the main default.conf as well and that does not seem to be properly overriding the blacklist when I was testing this. Also... does this cover IPv6 IPs as well? I can at least verify that curl seems to be hitting the site just fine via v6.
Interestingly it doesn't appear to be showing up in the logs anywhere for my IPs, as if I'm blocked directly in the firewall. Except that doesn't appear to be the case, as all I get when hitting the website is connection refused.
apt remove nginx-* && apt purge nginx-*
does work to get you back to a clean nginx install so that you can reinstall this if you find yourself unable to make the whitelist work. I've thus far been unable to work around the block once I trigger the block. This seems to be the only way to get it working again and then not testing lest you find yourself blocked permanently with no way to make this remove the block except by way of purging everything nginx related.
Hi Currently getting an issue when i try to whitelist an IP doing a test with the example config
i added in the whitelist part
then added this part to the default.conf
getting this error
Thank you