1
0
Fork 0
mirror of https://github.com/postmannen/ctrl.git synced 2025-01-08 05:09:15 +00:00
ctrl/scripts/nats-server/generate-nats-conf/generate-nats-conf.sh
2021-10-05 13:39:03 +02:00

17 lines
177 B
Bash
Executable file

#!/bin/bash
cat >./nats.conf <<EOF
port: 4022
tls {
cert_file: "/app/le.crt"
key_file: "/app/le.key"
}
authorization: {
users = [
{
}
]
}
EOF