stub_status and other data to be displayed.
Andrey Belov
defan at nginx.com
Thu Apr 26 13:16:03 UTC 2012
Hello!
On Apr 23, 2012, at 1:22 , Sam Ashmann wrote:
> 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.
You can use SSI for this.
The following commit allows usage of stub_status content handler
from "#include virtual=..." SSI directive:
http://trac.nginx.org/nginx/changeset/4612/nginx
Best regards,
Andrey
More information about the nginx
mailing list