nginx-basic/etc/nginx/snippets/error_pages.conf

16 lines
282 B
Plaintext
Raw Permalink Normal View History

2019-01-04 03:22:11 -07:00
#######
### 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;
}