Skip to content

[feature] Enable nginx_status #515

@cbeaujoin-stellar

Description

@cbeaujoin-stellar

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions