Skip to content

nginx status module flag in gitlab config

Hey,

it would be really nice if there would be a flag for enabling the nginx status module via gitlab configuration.

The effect, when enabled, should be adding the following lines to the generated nginx config:

server  {
    listen *:80;
    listen [::]:80;
    server_name localhost;
    location /nginx_status {
        stub_status on;
        access_log off;
        allow 127.0.0.1;
        allow ::1;
        deny all;
    }
}

That would be a really great improvement for monitoring possibilities of gitlab.

Best regards Matthias