mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
33 lines
743 B
Plaintext
33 lines
743 B
Plaintext
# Copyright 2012-2016 Apcera Inc. All rights reserved.
|
|
|
|
# Cluster Server A
|
|
|
|
host: 127.0.0.1
|
|
port: 4222
|
|
|
|
cluster {
|
|
host: 127.0.0.1
|
|
port: 4244
|
|
|
|
tls {
|
|
# Route cert
|
|
cert_file: "./configs/certs/srva-cert.pem"
|
|
# Private key
|
|
key_file: "./configs/certs/srva-key.pem"
|
|
# Specified time for handshake to complete
|
|
timeout: 2
|
|
|
|
# Optional certificate authority verifying connected routes
|
|
# Required when we have self-signed CA, etc.
|
|
ca_file: "./configs/certs/ca.pem"
|
|
}
|
|
|
|
# Routes are actively solicited and connected to from this server.
|
|
# Other servers can connect to us if they supply the correct credentials
|
|
# in their routes definitions from above.
|
|
|
|
routes = [
|
|
nats-route://127.0.0.1:4246
|
|
]
|
|
}
|