Files
Derek Collison 5dd09d2a3a Allow expressed url parameters to influence implicit servers.
When a connected server returns information on other server, we
can selectively use the information. Two cases here.

1. When the connected server was expressed as a hostname and we are doing TLS but
   the other implicit servers are bare IPs. Use the hostname during TLS.
2. When a connected server url had username and password, we can re-use those
   on implicit servers if it was not already defined.

Signed-off-by: Derek Collison <[email protected]>
2018-11-24 17:12:18 -08:00

22 lines
329 B
Plaintext

# TLS config file
# Cert has no IPs
listen: localhost:5222
tls {
cert_file: "./configs/certs/server_noip.pem"
key_file: "./configs/certs/key_noip.pem"
timeout: 2
}
authorization {
user: derek
password: porkchop
timeout: 1
}
cluster {
listen: 127.0.0.1:5244
routes = [nats-route://127.0.0.1:5246]
}