The base URL of the application is constructed from several configuration values:
domain
: The domain where the application is running (e.g. "localhost", "example.com")
port
: The non-SSL port number (default 4090)
ssl_port
: The SSL port number (default 4091)
ssl
: Boolean flag indicating if SSL should be used
path
: Optional URL path prefix (e.g. "/dashboard")
The final base URL is constructed as: protocol + host + port + path where protocol and port are determined by the ssl boolean.