diff options
author | Thomas Lange <code@nerdmind.de> | 2017-08-28 08:49:16 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2017-08-28 08:49:16 +0200 |
commit | b0fcf5c5a40e6b16e5a71adc93c081c2afce7eea (patch) | |
tree | a8b9623ad9ed1622179686f172173a8acfeb39c1 /snippets | |
download | nginx-errorpage-b0fcf5c5a40e6b16e5a71adc93c081c2afce7eea.tar.gz nginx-errorpage-b0fcf5c5a40e6b16e5a71adc93c081c2afce7eea.tar.xz nginx-errorpage-b0fcf5c5a40e6b16e5a71adc93c081c2afce7eea.zip |
Initial commit.
Diffstat (limited to 'snippets')
-rw-r--r-- | snippets/errorpage.conf | 24 |
1 files changed, 24 insertions, 0 deletions
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 |