mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-15 10:40:41 -07:00
- Port can be specified with 'prof_port' value in file - CLI flag overrides config file setting
26 lines
299 B
Plaintext
26 lines
299 B
Plaintext
|
|
# Simple config file
|
|
|
|
port: 4242
|
|
net: apcera.me # net interface
|
|
|
|
http_port: 8222
|
|
|
|
authorization {
|
|
user: derek
|
|
password: bella
|
|
timeout: 1
|
|
}
|
|
|
|
# logging options
|
|
debug: false
|
|
trace: true
|
|
logtime: false
|
|
log_file: "/tmp/gnatsd.log"
|
|
|
|
#pid file
|
|
pid_file: "/tmp/gnatsd.pid"
|
|
|
|
prof_port: 6543
|
|
|