From b0fcf5c5a40e6b16e5a71adc93c081c2afce7eea Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Mon, 28 Aug 2017 08:49:16 +0200 Subject: Initial commit. --- snippets/errorpage.conf | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 snippets/errorpage.conf (limited to 'snippets') diff --git a/snippets/errorpage.conf b/snippets/errorpage.conf new file mode 100644 index 0000000..16ce288 --- /dev/null +++ b/snippets/errorpage.conf @@ -0,0 +1,24 @@ +error_page 400 /errorpage/400.shtml; +error_page 401 /errorpage/401.shtml; +error_page 403 /errorpage/403.shtml; +error_page 404 /errorpage/404.shtml; +error_page 405 /errorpage/405.shtml; +error_page 408 /errorpage/408.shtml; +error_page 409 /errorpage/409.shtml; +error_page 410 /errorpage/410.shtml; +error_page 411 /errorpage/411.shtml; +error_page 412 /errorpage/412.shtml; +error_page 413 /errorpage/413.shtml; +error_page 414 /errorpage/414.shtml; +error_page 415 /errorpage/415.shtml; +error_page 429 /errorpage/429.shtml; +error_page 500 /errorpage/500.shtml; +error_page 501 /errorpage/501.shtml; +error_page 503 /errorpage/503.shtml; +error_page 504 /errorpage/504.shtml; + +location /errorpage/ { + alias /etc/nginx/customization/errorpage/; + internal; + ssi on; +} \ No newline at end of file -- cgit v1.2.3