Demoing your website
Sometimes it is way too early in the development cycle to set up automated (or not) deployment just to get some feedback; this is where tunnels come in:

simple tunnel
Here, the
connect
command needs only one argument that specifies destination:relay connect [DESTINATION]
In the next example we demonstrate tunnels functionality with custom subdomains and automated SSL:

custom subdomain with ssl
To get a custom subdomain and enable SSL you need to specify two flags:
--subdomain
(or -s
) and --crypto
:relay connect --subdomain [SUBDOMAIN] --crypto flexible [DESTINATION]
Crypto flag
flexible
enables both HTTP and HTTPS endpoints.Last modified 2yr ago