Nginx Block Bad Bots, Spam Referrer Blocker, Vulnerability Scanners, User-Agents, Malware, Adware, Ransomware, Malicious Sites, with anti-DDOS, Wordpress Theme Detector Blocking and Fail2Ban Jail for Repeat Offenders
3.81k
stars
472
forks
source link
[BUG] open() "/etc/nginx/botblocker.d/botblocker-nginx-settings.conf" failed (13: Permission denied) in /etc/nginx/nginx.conf:191 #531
Open
Danrancan opened 10 months ago
Describe the bug
Permissions issue on Ubuntu 20.04 for Raspberry Pi.
To Reproduce
Install Bad bot blocker on Ubuntu 20.04 Raspberry Pi. Then check the nginx error logs. You will find the following errors:
Expected behavior
I expect there to be no errror.
the Fix:
sudo chmod 644 /etc/nginx/conf.d/globalblacklist.conf && sudo chmod 644 /etc/nginx/botblocker.d/botblocker-nginx-settings.conf
Changing the permissions of the above corresponding files makes the error go away.
Operating System:
[X ] Ubuntu Server 20.04 for Raspberrry Pi (aarch64)