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.
Description
Description
Event Timeline
Comment Actions
I made the admin role depend on the services library, so this got a little less bad already.
Comment Actions
The Phacility version if this is reasonably clean now, there are reasonable workarounds, and we haven't seen demand from installs.
Comment Actions
I'm actually facing a similar issue at the moment... what are the "reasonable workarounds"?
Comment Actions
I worked around this in our SiteConfig subclass. You could conceivably also do it in preamble.php.
Comment Actions
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.