Y
Hacker News
new
|
ask
|
show
|
jobs
by
noonat
4072 days ago
Unfortunately, nginx doesn't allow you to set custom headers for error responses by default. You need to add something like the ngx_headers_more[1] plugin for that.
[1]:
http://wiki.nginx.org/HttpHeadersMoreModule