From b4e4b298e1e5411b499a5d4d56075e65be1d0e9e Mon Sep 17 00:00:00 2001 From: Frank Date: Thu, 15 Aug 2024 12:20:02 +0200 Subject: [PATCH] feat: added health check --- nginx/nginx.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 369f334e..8a265586 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -4,6 +4,11 @@ server { listen [::]:${PORT}; server_name localhost; + # healthcheck + location /healthz { + return 200 'OK!'; + } + # drives graphql endpoint location ${BASE_PATH}/drives { proxy_pass ${BACKEND};