From 937ae35c08603e6ffc43b8edfecea69d63397a09 Mon Sep 17 00:00:00 2001 From: vchikalkin Date: Wed, 21 Jun 2023 12:50:48 +0300 Subject: [PATCH] nginx.conf: add /health --- nginx.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nginx.conf b/nginx.conf index fe7dc6c..660cfe0 100644 --- a/nginx.conf +++ b/nginx.conf @@ -58,4 +58,10 @@ server { auth_request /auth; proxy_pass $URL_DOWNLOAD; } + + location = /health { + access_log off; + add_header 'Content-Type' 'application/json'; + return 200 'UP'; + } } \ No newline at end of file