Nginx enable stub_status for nginx-prometheus-exporter


I installed nginx-prometheus-exporter which is in the repository.

But in order to make it work nginx should be compiled -with-http_stub_status_module

Is nginx compiled with stub_status? How can I see this?

And if not how do I get this to work?


Check who the packager is of of nginx and based on that check package PKGBUILD either in manjaro or archlinux gitlab.

This time I did it for you: Arch Linux / Packaging / Packages / nginx ยท GitLab

You answered that already; compile it with that flag. :stuck_out_tongue: