Handle requests without host headers / by IP

Bug #1879801 reported by Haw Loeung
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Mirror Charm
Triaged
Low
Unassigned

Bug Description

Hi,

We deliberately don't support connections without a Host header so people don't hardcode IPs of the fastest mirror at the time and then complain when that IP changed roles[1].

With the charm now supporting multiple roles on the same host (archive, releases, security), we'll need to figure out a better way to do this. Perhaps an empty page or redirect to the main ubuntu.com download page? I think we can do this with a default vhost in each of the generated vhost config.

[1]https://code.launchpad.net/~hloeung/canonical-is-charms/ubuntu-mirror-default-vhost-and-server-status/+merge/254717

Related branches

Haw Loeung (hloeung)
Changed in ubuntu-mirror-charm:
status: New → In Progress
assignee: nobody → Haw Loeung (hloeung)
importance: Undecided → Low
Haw Loeung (hloeung)
Changed in ubuntu-mirror-charm:
status: In Progress → Triaged
assignee: Haw Loeung (hloeung) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.