diff --git a/nginx.conf.template b/nginx.conf.template index 227aef0..4611d45 100644 --- a/nginx.conf.template +++ b/nginx.conf.template @@ -1,5 +1,17 @@ events {} +http { + server { + listen 8080; # Listen on a separate port for health checks + + location /healthz { + # Just return a 200 OK for any request to /healthz + return 200 'healthy\n'; + add_header Content-Type text/plain; + } + } +} + stream { # TCP proxy configuration server {