Fwd: Adding a header to the status page output

Francis Daly francis at daoine.org
Tue Aug 6 22:31:39 UTC 2013

On Tue, Aug 06, 2013 at 03:55:26PM -0600, Alex Flex wrote:

Hi there,

> Iam wondering if there is any way to add a custom header/footer to the
> output of the STATUS page?
> location /status { stub_status on;  }

Can whatever will read this extra information, read it from a http
header? add_header would seem to be simplest.

You can always patch your source, if you can't find another way to do
what you want.

Francis Daly        francis at daoine.org

More information about the nginx mailing list