Added paths for caddy to directly dispatch static assets

This commit is contained in:
2025-06-03 11:27:03 +01:00
parent 70c71568c8
commit 016a313cf6
3 changed files with 11 additions and 0 deletions
+5
View File
@@ -3,6 +3,11 @@
}
localhost {
handle /static/* {
root * /var/www/static/
file_server
}
reverse_proxy invenio-rdm:5000 {
header_down Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"
header_down Pragma "no-cache"
+5
View File
@@ -3,6 +3,11 @@
}
invenio.i-form.ie {
handle /static/* {
root * /var/www/
file_server
}
reverse_proxy invenio-rdm:5000
encode gzip
}