mirror of
https://github.com/Cian-H/am-d-model.eu.git
synced 2025-12-22 21:41:57 +00:00
30 lines
424 B
Caddyfile
30 lines
424 B
Caddyfile
{
|
|
admin off
|
|
}
|
|
|
|
am-d-model.eu {
|
|
reverse_proxy site:3000 {
|
|
health_uri /health
|
|
health_interval 30s
|
|
health_timeout 10s
|
|
health_status 200
|
|
}
|
|
}
|
|
|
|
invenio.am-d-model.eu {
|
|
request_body {
|
|
max_size 1TB
|
|
}
|
|
timeouts {
|
|
read_body 1h
|
|
read_header 10s
|
|
write 1h
|
|
write 1h
|
|
}
|
|
root /static/* /opt/invenio/var/instance/static
|
|
try_files {path} {path}/ /index.html
|
|
reverse_proxy invenio-rdm:5000
|
|
file_server
|
|
encode gzip
|
|
}
|