Page MenuHomePhabricator

Make /status/ route ignore host headers
Closed, WontfixPublic

Description

We could clean up a little bit of code if /status/ always gets to skip precursor checks like the Host header. This is generally helpful for anyone putting Phabricator behind a load balancer with HTTP health checks.

Event Timeline

epriestley raised the priority of this task from to Wishlist.
epriestley updated the task description. (Show Details)
epriestley added a project: Phacility.
epriestley moved this task from Backlog to Do After Launch on the Phacility board.
epriestley added a subscriber: epriestley.

I made the admin role depend on the services library, so this got a little less bad already.

epriestley claimed this task.

The Phacility version if this is reasonably clean now, there are reasonable workarounds, and we haven't seen demand from installs.

I'm actually facing a similar issue at the moment... what are the "reasonable workarounds"?

I worked around this in our SiteConfig subclass. You could conceivably also do it in preamble.php.

Yeah I have a hacky workaround that I can do in nginx, but it feels like it would be nicer to just allow /status/ to ignore the host header altogether.