server: host: "127.0.0.1" port: 4222 max_payload: 1048576 # 1 MB max_connections: 1000 tls: enabled: false cert_file: "cert2.der" key_file: "key2.der" # to generate a self-signed certificate, run the following command: # openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -nodes auth: type: Basic config: username: admin password: secret cluster: name: "my_cluster" peers: - "nats://peer1.example.com:6222" - "nats://peer2.example.com:6222" logging: level: "info"