1
0
Fork 0

adding healthcheck

This commit is contained in:
colin 2023-12-12 16:50:47 +00:00
parent da028e4e49
commit f534f34cac
1 changed files with 12 additions and 0 deletions

View File

@ -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 {