Is there a way I can set an absolute path for nginx error_pages? Not absolute as in http://
, but absolute as in /usr/var/nginx/errors/500.html
.
Sure you can but in an indirect way:
error_page 500 /500.html;
location = /500.html {
root /usr/var/nginx/errors;
allow all;
internal;
}