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.
This commit is contained in:
Erik Swan 2020-04-05 15:04:39 -06:00 committed by Léo Colombaro
parent d2f597235a
commit 5f6dc74932
1 changed files with 2 additions and 2 deletions

View File

@ -39,8 +39,8 @@ server {
# Path for static files # Path for static files
root /var/www/example.com/public; root /var/www/example.com/public;
# Custom 404 page # Custom error pages
error_page 404 /404.html; include h5bp/errors/custom_errors.conf;
# Include the basic h5bp config set # Include the basic h5bp config set
include h5bp/basic.conf; include h5bp/basic.conf;