infrastructure/ansible/plays/services/repo_proxy/Caddyfile

22 lines
511 B
Caddyfile
Raw Permalink Normal View History

2023-03-27 11:04:31 +02:00
{
auto_https off
}
http://repo.tobiasmanske.de {
@uncomressed {
path *.db
path *.files
path *.db.sig
path *.files.sig
}
uri @uncomressed replace db db.tar.xz
uri @uncomressed replace files files.tar.xz
2023-03-27 11:04:31 +02:00
uri /os/* replace /os/ /repo/
reverse_proxy /repo/* https://s3.tobiasmanske.de {
header_up Host s3.tobiasmanske.de
}
root * /var/www
file_server
}