nginx: add access to server status on default VHost

This commit is contained in:
Jérémy Lecour 2021-02-04 11:30:32 +01:00 committed by Jérémy Lecour
parent e1458e6a35
commit cff309ff41
2 changed files with 11 additions and 0 deletions

View file

@ -13,6 +13,7 @@ The **patch** part changes incrementally at each release.
### Added
* apache: new variables for logrotate + server-status
* nginx: add access to server status on default VHost
### Changed

View file

@ -50,3 +50,13 @@ server {
access_log off;
}
}
server {
listen 80;
server_name munin;
location /server-status-{{ nginx_serverstatus_suffix | mandatory }} {
stub_status on;
access_log off;
}
}