This commit is contained in:
21
coreos-config/plays/services/repo_proxy/Caddyfile
Normal file
21
coreos-config/plays/services/repo_proxy/Caddyfile
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
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
|
||||
}
|
Reference in New Issue
Block a user