nginx_status

Maxim Dounin mdounin at mdounin.ru
Thu Jul 16 17:24:55 UTC 2015


Hello!

On Thu, Jul 16, 2015 at 08:19:34AM -0400, smsmaddy1981 wrote:

> Hi Team,
> I am configured to use nginx_status and I can see the expected result on the
> browser
> 
> Now, the query is: the /nginx_status configuration is done on the server
> block. Is this required to be repeated for every server block exists in the
> nginx.conf file? Or any feasibility to set globally for all the servers. 

There is no need to configure stub_status for each server{} block, 
stats are global and they are always collected.  You just need to 
configure it in one location to make it possible to access stats.

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx mailing list