I use `stf` for a very small installation with just one user and few
devices. `stf local` provides enough functionality and is easy to run:
just one command without the need to configure all internal services
separately. The only missing feature is the ability to provide access
securely over the internet.
I want to use nginx reverse proxy with https and client certificate
authorization, but currently this does not play well with modern
browsers as they refuse to connect to insecure ws:// from secure
https:// context.
This patch just adds the ability to configure various URL patterns to
match the externally accessible address of the installation.
Signed-off-by: Ivan Mironov <mironov.ivan@gmail.com>