adding healthcheck
This commit is contained in:
parent
da028e4e49
commit
f534f34cac
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue