added error page snippet

This commit is contained in:
Asif Bacchus 2019-01-04 03:22:11 -07:00
parent 31e258fbae
commit 4923743837

View File

@ -0,0 +1,16 @@
#######
### NGINX server configuration - error pages
#######
# error pages
error_page 404 /404.html;
location = /404.html {
root /usr/share/nginx/html;
internal;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
internal;
}