From ec021edcf18a873c0d4e803bd834204ec11a964f Mon Sep 17 00:00:00 2001 From: hwansae91 Date: Sun, 31 Aug 2025 15:52:26 +0900 Subject: [PATCH] =?UTF-8?q?metric=20url=20=EC=B6=94=EA=B0=80=20admin=20/?= =?UTF-8?q?=2019800508?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server-nginx-default | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/server-nginx-default b/server-nginx-default index 53e1427..d3f33ae 100644 --- a/server-nginx-default +++ b/server-nginx-default @@ -254,6 +254,15 @@ server { alias /var/www/html/.well-known/acme-challenge/; } + location = /basic_status { + satisfy any; + + auth_basic “metric admin”; + auth_basic_user_file .htpasswd; + allow 192.168.1.0/24; + stub_status; + } + # pass PHP scripts to FastCGI server #