diff --git a/proxy/nginx.conf b/proxy/nginx.conf index 63543c0..459c8b1 100644 --- a/proxy/nginx.conf +++ b/proxy/nginx.conf @@ -65,5 +65,16 @@ http { default_type text/plain; return 200 "ok\n"; } + + location /internal/status { + access_log off; + default_type text/plain; + + if ($remote_addr != 127.0.0.1) { + return 403; + } + + return 200 "internal ok\n"; + } } }