Home GnuPG

Make paths and Aphlict instance names less ambiguous
d4bf2a147b7aUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

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

Provenance
epriestley <git@epriestley.com>Authored on Apr 14 2016, 1:08 AM
Parents
rPHAB2930733ac99f: Complete modernization of Aphlict configuration
Branches
Unknown
Tags
Unknown

Event Timeline

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