nginx/snippets/error-pages.conf

16 lines
428 B
Plaintext
Raw Normal View History

proxy_intercept_errors on;
2023-04-26 19:45:45 +00:00
error_page 400 /ErrorPages/HTTP400.html;
error_page 401 /ErrorPages/HTTP401.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/ {
2023-04-26 22:10:02 +00:00
alias /var/www/html/ErrorPages/;
internal;
2023-04-26 19:45:45 +00:00
}