Page MenuHomePhabricator

Make paths and Aphlict instance names less ambiguous

Authored by epriestley on Apr 13 2016, 11:11 PM.



Fixes T10783 (what little of it remains). Ref T10697.

Aphlict currently uses request paths for two different things:

  • multi-tenant instancing in the Phacility cluster (each instance gets its own namespace within an Aphlict server);
  • some users configure nginx and apache to do proxying or SSL termination based on the path.

Currently, these can collide.

Put a "~" before the instance name to make it unambiguous. At some point we can possibly just use a GET parameter, but I think there was some reason I didn't do that originally and this sequence of changes is disruptive enough already.

Test Plan

Saw local Aphlict unambiguously recognize "" as instance "local", with a "~"-style URI.

Diff Detail

rP Phabricator
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

epriestley retitled this revision from to Make paths and Aphlict instance names less ambiguous.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad accepted this revision.Apr 14 2016, 3:03 AM
chad edited edge metadata.
This revision is now accepted and ready to land.Apr 14 2016, 3:03 AM
This revision was automatically updated to reflect the committed changes.