Reorganized caddy config files

This commit is contained in:
2025-06-05 14:05:04 +01:00
parent d4169ac797
commit 245efa6de5
3 changed files with 4 additions and 1 deletions

26
env/development/caddy/Caddyfile vendored Normal file
View File

@@ -0,0 +1,26 @@
{
debug
}
localhost {
handle_path /static* {
root * /var/www/static
file_server
}
handle_path /oauth* {
}
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"
header_down Expires "0"
}
encode gzip
log {
format console
level DEBUG
}
}