forked from lindsayevans/nginx-json-status-module
nginx-modules/nginx-json-status-module
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Nginx json_status module A version of the Nginx HTTP stub status module that outputs in JSON format WARNING: This code WILL eat your cat, crash your server and send your bank details to random Nigerian email addresses. Run at your own risk. Compiling into Nginx: ./configure --add-module=/path/to/nginx-json-status-module Configuration: In your nginx.conf: location /nginx_status.js { json_status on; json_status_type text/javascript; # Default application/json access_log off; } Example output - /nginx_status.js: {active:1,accepts:1,handled:1,requests:5,reading:0,writing:1,waiting:0} Callback support - /nginx_status.js?callback=do_funky_stuff: do_funky_stuff({active:1,accepts:1,handled:1,requests:5,reading:0,writing:1,waiting:0});
About
A version of the Nginx HTTP stub status module that outputs in JSON format
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published