Joby Elliott
2a5b05b320
Simplify the error page handling and configuration by refactoring the code. Removed the unnecessary error message "IP banned for bad behavior" and replaced it with a generic 403 error response. Also, added new error pages for 404, 503, and 50x errors. The error pages are now stored in the /var/www/error-pages directory. Updated the nginx configuration to use the new error pages and added PHP handling for the error pages. |
||
---|---|---|
.. | ||
error-pages | ||
nginx-conf | ||
nginx-snippets | ||
00-update-install.sh | ||
01-nginx-default-root.sh | ||
certbot.sh | ||
error-pages.sh | ||
fail2ban-nginx.sh | ||
mysql.sh | ||
nginx-cloudflare-fail2ban.sh | ||
nginx-conf.sh | ||
nginx-log-format.sh | ||
nginx-snippets.sh | ||
sshd_websftpusers.sh | ||
swap.sh | ||
unattended-upgrades.sh |