webplatform / ops

http://webplatform.github.io/ops/
5 stars 1 forks source link

Create a debian package hosting mirror with Fastly in front with long cache time #156

Closed renoirb closed 9 years ago

renoirb commented 9 years ago

Estimate

In order to have a reliable system, we need to host our .deb (a.k.a. apt-get source location) files from a web server. But what if the underlying web server is down too? Let’s leverage Fastly by configuring it to store the file for long period of time.

Current setup is that we copy contents of folder on every servers. It would be more efficient if we had it available from the web directly.

Tasks

renoirb commented 9 years ago

Fold into upcoming talk as an example.

renoirb commented 9 years ago

Related webplatform/ops#121 ?

renoirb commented 9 years ago

Done, and it works.

renoirb commented 9 years ago

Issue we had was because apt would make requests to http://static.webplatform.org/wpd/packages/apt//file.deb and Varnish didn't like the double-slashe ("//"). Fixed it like that