From ffc368c66c0fd18e48cd2bc3f10900bd510adcec Mon Sep 17 00:00:00 2001 From: Yuuta Liang Date: Mon, 26 Jun 2023 20:41:26 -0700 Subject: Add NGINX config --- err.conf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 err.conf (limited to 'err.conf') diff --git a/err.conf b/err.conf new file mode 100644 index 0000000..926e501 --- /dev/null +++ b/err.conf @@ -0,0 +1,15 @@ +error_page 401 /error/401.htm; +error_page 401 /error/403.htm; +error_page 404 /error/404.htm; +error_page 405 /error/405.htm; +error_page 406 /error/406.htm; +error_page 412 /error/412.htm; +error_page 413 /error/413-1.htm; +error_page 431 /error/431.htm; +error_page 500 /error/500.htm; +error_page 501 /error/501.htm; +error_page 502 /error/502.htm; + +location /error/ { + alias /etc/nginx/err/; +} -- cgit v1.2.3