Aligned file handling settings between S3, API, and Caddy

This commit is contained in:
2025-08-20 14:19:20 +01:00
parent 1fc28b6466
commit 738d953ce8
2 changed files with 20 additions and 17 deletions

View File

@@ -2,7 +2,6 @@
admin off
}
am-d-model.eu {
reverse_proxy site:3000 {
health_uri /health
@@ -18,7 +17,11 @@ invenio.am-d-model.eu {
}
root /static/* /opt/invenio/var/instance/static
try_files {path} {path}/ /index.html
reverse_proxy invenio-rdm:5000
reverse_proxy invenio-rdm:5000 {
transport http {
response_header_timeout 5m
}
}
file_server
encode gzip
}