From 930a4ef124fb4b89146d9cdada20d14985206e48 Mon Sep 17 00:00:00 2001 From: AlexBa16 Date: Mon, 1 Jun 2026 16:14:06 +0200 Subject: [PATCH] C5 --- proxy/nginx.conf | 11 +++++++++++ 1 file changed, 11 insertions(+) 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"; + } } }