mirror of
https://github.com/Cian-H/iform-invenio.git
synced 2025-12-22 20:41:56 +00:00
Reorganized caddy config files
This commit is contained in:
26
env/development/caddy/Caddyfile
vendored
Normal file
26
env/development/caddy/Caddyfile
vendored
Normal 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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user