From 96353a0ad0d3c7d49d8c7106bed26bba1413cbfa Mon Sep 17 00:00:00 2001 From: Aditya Prima Date: Thu, 12 Sep 2024 01:20:51 +0700 Subject: [PATCH] added nginx stub status --- etc/nginx/conf.d/default.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/etc/nginx/conf.d/default.conf b/etc/nginx/conf.d/default.conf index 42a0a25..7e72127 100644 --- a/etc/nginx/conf.d/default.conf +++ b/etc/nginx/conf.d/default.conf @@ -15,4 +15,10 @@ server { location ~* .(jpg|jpeg|png|gif|ico|css|js)$ { expires 30d; } + + location /nginx-status { + stub_status on; + allow 127.0.0.1; + deny all; + } } \ No newline at end of file