Dave W
Regular Pleskian
- Server operating system version
 - CentOS 7.9.2009 x86_64
 
- Plesk version and microupdate number
 - Plesk Obsidian 18.0.50.2
 
Greetz,
Running the apache-badbots filter in f2b. Its configured by default to scan
	
	
	
		
It banned the servers own IP today.
Found the issue on /var/log/httpd/access_log
Checked the logs and found on /var/log/nginx/access.log;
	
	
	
		
Checked httpd /var/log/httpd/access_log and get;
	
	
	
		
Can we configure nginx to pass the client IP to httpd by default or change the apache-badbots jail to check /var/log/nginx/access.log instead?
				
			Running the apache-badbots filter in f2b. Its configured by default to scan
		Code:
	
	/var/www/vhosts/system/*/logs/*access*log
/var/log/httpd/*access_log
	It banned the servers own IP today.
Found the issue on /var/log/httpd/access_log
Checked the logs and found on /var/log/nginx/access.log;
		Code:
	
	170.64.160.98 - - [23/Mar/2023:17:55:58 +0000] "GET /ab2g HTTP/1.1" 404 189 "-" "Mozilla/5.0 zgrab/0.x"
170.64.160.98 - - [23/Mar/2023:17:55:59 +0000] "GET /ab2h HTTP/1.1" 404 188 "-" "Mozilla/5.0 zgrab/0.x"
	Checked httpd /var/log/httpd/access_log and get;
		Code:
	
	/var/log/httpd/access_log:<SERVER_IP> - - [23/Mar/2023:17:55:58 +0000] "GET /ab2g HTTP/1.0" 404 202 "-" "Mozilla/5.0 zgrab/0.x"
/var/log/httpd/access_log:<SERVER_IP> - - [23/Mar/2023:17:55:59 +0000] "GET /ab2h HTTP/1.0" 404 202 "-" "Mozilla/5.0 zgrab/0.x"
	Can we configure nginx to pass the client IP to httpd by default or change the apache-badbots jail to check /var/log/nginx/access.log instead?