From 42d604a9215df753abf851e455e147643b955e3b Mon Sep 17 00:00:00 2001 From: Timo Makinen Date: Sun, 12 Nov 2023 15:53:15 +0000 Subject: [PATCH] nginx: Expose status page --- roles/nginx/templates/nginx.conf.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/nginx/templates/nginx.conf.j2 b/roles/nginx/templates/nginx.conf.j2 index 4a10039..85c6ecc 100644 --- a/roles/nginx/templates/nginx.conf.j2 +++ b/roles/nginx/templates/nginx.conf.j2 @@ -63,6 +63,10 @@ http { root /srv/web/{{ inventory_hostname }}; + location = /stub_status { + stub_status; + } + include /etc/nginx/conf.d/{{ inventory_hostname }}/*.conf; }