DefGuard / gateway

Defguard gateway
Other
19 stars 2 forks source link

Add health / status in gateway for monitoring #66

Closed teon closed 7 months ago

teon commented 10 months ago

When an option will be added to the gateway config - here is a snippet to add to config:

# A HTTP port that will expose the REST HTTP gateway health status
# HTTP CODES with responses:
#
# 200 - gateway is working and is connected to CORE
# 503 - gateway works but is not connected to CORE
#
# HEALTH_PORT = 55003

So when enabled, should spawn a HTTP server with error codes as written above and also responses describing the satatus