Currently /status.json
requires an API token from super user. This is not ideal when trying to check status of the webserver container. Usually, a /health
endpoint without auth would return a 200 status and some message or another non-success status.
Relying on container exit if process exits is not enough. While the process may be running, the application may not be healthy or serving requests. For this, I suggest a /health
endpoint is added which requires no authentication and returns a 200 if health and body with just the version number.