mirror of
https://github.com/Cian-H/am-d-model.eu.git
synced 2025-12-22 21:41:57 +00:00
Added invenio health check to caddy config
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user