Redirect /debian* on deb.d.o to cdn-fastly
authorPeter Palfrader <peter@palfrader.org>
Tue, 12 Apr 2016 15:25:12 +0000 (17:25 +0200)
committerPeter Palfrader <peter@palfrader.org>
Tue, 12 Apr 2016 15:25:12 +0000 (17:25 +0200)
commitef16d2247d7eaf96f0de80e46dc16948e61363bf
tree7eb075c9d7cd1a14c2cf337931fdaf615f8dfa38
parentf9c814e616c6ab3dff406d37eb9eb44ab76b72a8
Redirect /debian* on deb.d.o to cdn-fastly

SRV support in apt only helps when there is no http proxy (transparent
or directly configured).  If there is a proxy, and it doesn't support
SRV records as well, requests end up directly on the deb.d.o vhost.

Do something smart in that case, namely redirect to cdn-fastly.
modules/roles/templates/static-mirroring/vhost/static-vhosts-simple.erb