FerryDocs
ArchitectureNetworking model

Hostnames and routing

The proxy reads the Host header of each request to find the service.

Edit on GitHub
web.localhost<name>.<domain>Custom domainferry.localhostdashboard hostProxyreads HostService webServiceowns the domainAPIand dashboard

A hostname <name>.<domain> goes to the web service or static site with that name.

1 / 3

The proxy listens on --proxy-addr (default 0.0.0.0:8080), and on --https-addr for TLS. It routes each request by its . It ignores the port in the header.

HostnameGoes to
<name>.<domain>, for each served domain of the serverThe web service or static site <name>
A The service that claimed it
ferry.<base-domain>, the dashboard hostThe API and the dashboard (--api-addr)