Refactor error page handling and configuration

This commit is contained in:
Joby 2024-10-23 19:41:38 -06:00
parent d2175b20bd
commit f7d467cf75
2 changed files with 3 additions and 0 deletions

View file

@ -17,6 +17,9 @@ server {
ssl_certificate_key /etc/letsencrypt/live/$DOMAIN/privkey.pem;
include snippets/ssl.conf;
# Error page config
include snippets/error-pages.conf;
# Check for banned IPs
if ($is_banned) {
return 403;