Homec4science

Make paths and Aphlict instance names less ambiguous

Authored by epriestley <git@epriestley.com> on Apr 14 2016, 01:08.

Description

Make paths and Aphlict instance names less ambiguous

Summary:
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 "local.phacility.com" as instance "local", with a "~"-style URI.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10697, T10783

Differential Revision: https://secure.phabricator.com/D15705

Details

Committed
epriestley <git@epriestley.com>Apr 14 2016, 13:57
Pushed
aubortJan 31 2017, 17:16
Parents
rPH2930733ac99f: Complete modernization of Aphlict configuration
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHd4bf2a147b7a: Make paths and Aphlict instance names less ambiguous (authored by epriestley <git@epriestley.com>).Apr 14 2016, 13:57