From f7d467cf75e30984a30130ea0d88b0042b8d561a Mon Sep 17 00:00:00 2001 From: Joby Elliott Date: Wed, 23 Oct 2024 19:41:38 -0600 Subject: [PATCH] Refactor error page handling and configuration --- .../10-error-pages.conf => nginx-snippets/error-pages.conf} | 0 site-config.conf | 3 +++ 2 files changed, 3 insertions(+) rename install/{nginx-conf/10-error-pages.conf => nginx-snippets/error-pages.conf} (100%) 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;