Nginx Error Pages - One Location Rule to Fit Them All? Nginx Error Pages - One Location Rule to Fit Them All? nginx nginx

Nginx Error Pages - One Location Rule to Fit Them All?


error_page 403 /error/403.html;error_page 404 /error/404.html;error_page 405 /error/405.html;error_page 500 501 502 503 504 /error/5xx.html;location ^~ /error/ {    internal;    root /var/www/default;}