Handle requests without host headers / by IP
Bug #1879801 reported by
Haw Loeung
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Mirror Charm |
In Progress
|
Low
|
Haw Loeung |
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.
Related branches
~hloeung/ubuntu-mirror-charm:server-status
- 🤖 Canonical IS Review Bot: Approve
- Canonical IS Reviewers: Pending requested
- Ubuntu Mirror Charm Maintainers: Pending requested
-
Diff: 26 lines (+8/-0)1 file modifiedtemplates/apache-status.tmpl (+8/-0)
Changed in ubuntu-mirror-charm: | |
status: | New → In Progress |
assignee: | nobody → Haw Loeung (hloeung) |
importance: | Undecided → Low |
To post a comment you must log in.