In order to monitor nginx, it would be great to be able to enable Nginx status module in the site-conf.j2 template.
{% if openwisp2_nginx_status%}
location = /nginx_status {
stub_status;
allow 127.0.0.1; # only allow requests from localhost
deny all; # deny all other hosts
}
{% endif %}
Enable with (false by default):
openwisp2_nginx_status: true
In order to monitor nginx, it would be great to be able to enable Nginx status module in the
site-conf.j2template.Enable with (false by default):