Skip to content

Hub Proxy Allow Path-Based Routing

Key: qie.hubProxyAllowPathBased

Env Var: QIE_HUBPROXYALLOWPATHBASED

Default: false

Scope: Global

Description: When true, the Hub proxy also routes to sites by path (/sites//) in addition to subdomain. Subdomain routing (the default) is strongly recommended: each site gets its own browser origin, isolating cookies and preventing a compromised site from reaching others via the browser. Path-based shares the Hub's origin and loses that isolation; it is provided for deployments that cannot set up per-site wildcard DNS and a wildcard TLS cert. The choice, and its risk, is the operator's.

Examples

Env Var

QIE_HUBPROXYALLOWPATHBASED=true

Java Option

-Dqie.hubProxyAllowPathBased=true

YAML

QIE_HUBPROXYALLOWPATHBASED: true