mirror of
https://github.com/chatmail/relay.git
synced 2026-05-16 03:24:48 +00:00
cmdeploy: deploy IPv4 relays with brackets
This commit is contained in:
@@ -87,7 +87,7 @@ def run_cmd_options(parser):
|
||||
def run_cmd(args, out):
|
||||
"""Deploy chatmail services on the remote server."""
|
||||
|
||||
ssh_host = args.ssh_host if args.ssh_host else args.config.mail_domain
|
||||
ssh_host = args.ssh_host if args.ssh_host else args.config.mail_domain.strip("[").strip("]")
|
||||
sshexec = get_sshexec(ssh_host)
|
||||
require_iroh = args.config.enable_iroh_relay
|
||||
strict_tls = args.config.tls_cert_mode == "acme"
|
||||
|
||||
Reference in New Issue
Block a user