Welcome! Log In Create A New Profile

Advanced

stub_status and other data to be displayed.

Sam Ashmann
April 22, 2012 05:24PM
Hello all,

I made a debug html that displays some debugging information (additional nginx variables)... but Id also prefer to print along with the output produced by stub_status . Is there anyway to do this?

Something like this doesnt appear to work:


location /static-test {
default_type text/html;
stub_status on;
return 200 "test"
}

it either prints my test, or if I comment it .. it prints the status of nginx.


Regards,
Sam

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

stub_status and other data to be displayed.

Sam Ashmann April 22, 2012 05:24PM

Re: stub_status and other data to be displayed.

Andrey Belov April 26, 2012 09:18AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 298
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready