aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/nginx/nginx.conf6
1 files changed, 6 insertions, 0 deletions
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;