Added invenio health check to caddy config

This commit is contained in:
2025-02-14 15:16:31 +00:00
parent 9344470d4e
commit 47a92dac33

View File

@@ -14,7 +14,13 @@ am-d-model.eu {
invenio.am-d-model.eu { invenio.am-d-model.eu {
root /static/* /opt/invenio/var/instance/static root /static/* /opt/invenio/var/instance/static
try_files {path} {path}/ /index.html try_files {path} {path}/ /index.html
reverse_proxy invenio-rdm:5000 reverse_proxy invenio-rdm:5000 {
health_uri /ping
health_interval 30s
health_timeout 10s
health_status 200
}
file_server file_server
encode gzip encode gzip
} }