add error pages
This commit is contained in:
parent
20ae0abebb
commit
2d250a4a00
14
snippets/error-pages.conf
Normal file
14
snippets/error-pages.conf
Normal file
@ -0,0 +1,14 @@
|
||||
error_page 400 /ErrorPages/HTTP400.html;
|
||||
error_page 401 /ErrorPages/HTTP401.html;
|
||||
error_page 402 /ErrorPages/HTTP402.html;
|
||||
error_page 403 /ErrorPages/HTTP403.html;
|
||||
error_page 404 /ErrorPages/HTTP404.html;
|
||||
error_page 500 /ErrorPages/HTTP500.html;
|
||||
error_page 501 /ErrorPages/HTTP501.html;
|
||||
error_page 502 /ErrorPages/HTTP502.html;
|
||||
error_page 503 /ErrorPages/HTTP503.html;
|
||||
|
||||
location /ErrorPages/ {
|
||||
alias /var/www/html/ErrorPages/;
|
||||
internal;
|
||||
}
|
Loading…
Reference in New Issue
Block a user