From 5f6dc74932ad2cacc6cc05799473a7b3ad800ac4 Mon Sep 17 00:00:00 2001 From: Erik Swan Date: Sun, 5 Apr 2020 15:04:39 -0600 Subject: [PATCH] Update example.com.conf to use error page include Use the error page include instead of the error_page 404 directive. This aligns example.com.conf with no-ssl.example.com.conf. --- conf.d/templates/example.com.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf.d/templates/example.com.conf b/conf.d/templates/example.com.conf index 6c88afa..fe987d3 100644 --- a/conf.d/templates/example.com.conf +++ b/conf.d/templates/example.com.conf @@ -39,8 +39,8 @@ server { # Path for static files root /var/www/example.com/public; - # Custom 404 page - error_page 404 /404.html; + # Custom error pages + include h5bp/errors/custom_errors.conf; # Include the basic h5bp config set include h5bp/basic.conf;