# Fwd: Adding a header to the status page output

**URL:** <https://www.ruby-forum.com/t/fwd-adding-a-header-to-the-status-page-output/245935>\
**Category:** NGINX\
**Created:** [August 6, 2013, 11:55pm UTC](https://www.ruby-forum.com/t/fwd-adding-a-header-to-the-status-page-output/245935 "2013-08-06T23:55:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sadaf\_N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/858c86/32.png) [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Post date:** [August 6, 2013, 11:55pm UTC](https://www.ruby-forum.com/t/fwd-adding-a-header-to-the-status-page-output/245935/1 "2013-08-06T23:55:49Z")

</div>

Hello !

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; }

I tried a couple of thigns but for some reason apparently it got  
ignored.

Alex

---

<div class="post-metadata">

**Author:** ![Alex\_Flex](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/db5fbb/32.png) [@Alex\_Flex](https://www.ruby-forum.com/u/Alex_Flex)\
**Post date:** [August 7, 2013, 12:32am UTC](https://www.ruby-forum.com/t/fwd-adding-a-header-to-the-status-page-output/245935/2 "2013-08-07T00:32:02Z")

</div>

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.

## f

Francis D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
