Fix front health checking

- Specified seperated /health path in order to allow for healthcheck even if webmail and admin are not seletectd. This also allows healthchecking fom external services like DNS load balancers;
- Make curl not to fail on TLS because localhost is not included in the certificates.
master
Tim Möhlmann 6 years ago
parent a412951a30
commit c3e89967fb
No known key found for this signature in database
GPG Key ID: AFABC30066A39335

@ -13,4 +13,4 @@ VOLUME ["/certs"]
CMD /start.py
HEALTHCHECK CMD curl -f -L http://localhost/ || exit 1
HEALTHCHECK CMD curl -k -f -L http://localhost/health || exit 1

@ -146,6 +146,10 @@ http {
proxy_pass_request_body off;
proxy_set_header Content-Length "";
}
location /health {
return 204;
}
}
# Forwarding authentication server

Loading…
Cancel
Save