nginx: add access to server status on default VHost
This commit is contained in:
parent
e1458e6a35
commit
cff309ff41
|
@ -13,6 +13,7 @@ The **patch** part changes incrementally at each release.
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
* apache: new variables for logrotate + server-status
|
* apache: new variables for logrotate + server-status
|
||||||
|
* nginx: add access to server status on default VHost
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
|
|
@ -50,3 +50,13 @@ server {
|
||||||
access_log off;
|
access_log off;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
server_name munin;
|
||||||
|
|
||||||
|
location /server-status-{{ nginx_serverstatus_suffix | mandatory }} {
|
||||||
|
stub_status on;
|
||||||
|
access_log off;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue