diff --git a/install/nginx-conf/10-error-pages.conf b/install/nginx-snippets/error-pages.conf similarity index 100% rename from install/nginx-conf/10-error-pages.conf rename to install/nginx-snippets/error-pages.conf diff --git a/site-config.conf b/site-config.conf index fb95af9..c026118 100644 --- a/site-config.conf +++ b/site-config.conf @@ -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;