infrastructure/coreos-config/plays/services/repo_proxy/Caddyfile
Tobias Manske 5a8416fcdf
All checks were successful
continuous-integration/drone/push Build is passing
Refactor
2023-05-05 22:47:19 +02:00

22 lines
511 B
Caddyfile

{
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
uri /os/* replace /os/ /repo/
reverse_proxy /repo/* https://s3.tobiasmanske.de {
header_up Host s3.tobiasmanske.de
}
root * /var/www
file_server
}