NGINX - Stub Status: Difference between revisions
From Wiki.IT-Arts.net
imported>Z (Created page with "Category:Post-It = Module ngx_http_stub_status_module = Check your Nginx has the good compilation option: <nowiki> nginx -V 2>&1 | grep --color -- --with-http_stub_st...") |
No edit summary |
||
Line 3: | Line 3: | ||
= Module ngx_http_stub_status_module = | == Module ngx_http_stub_status_module == | ||
Check your Nginx has the good compilation option: | Check your Nginx has the good compilation option: | ||
Line 28: | Line 28: | ||
= Sources = | == Sources == | ||
* https://nginx.org/en/docs/http/ngx_http_stub_status_module.html | * https://nginx.org/en/docs/http/ngx_http_stub_status_module.html |
Latest revision as of 10:56, 8 June 2024
Module ngx_http_stub_status_module
Check your Nginx has the good compilation option:
nginx -V 2>&1 | grep --color -- --with-http_stub_status_module
In /etc/nginx/nginx.conf add:
###################################################################################### ##### Virtual Host Configs ###################################################################################### server { listen 127.0.0.1:80; server_name 127.0.0.1; location /nginx_status { stub_status; } }
Sources
- https://nginx.org/en/docs/http/ngx_http_stub_status_module.html
- https://www.nginx.com/blog/monitoring-nginx/