From ae7e4a7a4290f4c375f9a8d61ace82df6ff5a5ed Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Fri, 8 Mar 2019 21:57:25 -0500 Subject: Add the status stub to the default configuration --- templates/nginx/nginx.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/nginx/nginx.conf b/templates/nginx/nginx.conf index eb622d5..a16530a 100644 --- a/templates/nginx/nginx.conf +++ b/templates/nginx/nginx.conf @@ -31,6 +31,12 @@ http { index index.html index.htm; } + location /stub_status { + stub_status; + allow 127.0.0.1; + deny all; + } + error_page 500 502 503 504 /50x.html; location = /50x.html { root /usr/share/nginx/html; -- cgit v1.2.3