mirror of
https://github.com/Cian-H/iform-invenio.git
synced 2026-05-25 16:02:03 +01:00
Added paths for caddy to directly dispatch static assets
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -3,6 +3,11 @@
|
||||
}
|
||||
|
||||
invenio.i-form.ie {
|
||||
handle /static/* {
|
||||
root * /var/www/
|
||||
file_server
|
||||
}
|
||||
|
||||
reverse_proxy invenio-rdm:5000
|
||||
encode gzip
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user