From 6972112782ec9ac76da4824dc9d7ab9fcd6f739f Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sun, 5 Aug 2018 07:32:07 +0000 Subject: [PATCH] example config file --- etc/telebit-relay.sample.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 etc/telebit-relay.sample.yml diff --git a/etc/telebit-relay.sample.yml b/etc/telebit-relay.sample.yml new file mode 100644 index 0000000..70f9060 --- /dev/null +++ b/etc/telebit-relay.sample.yml @@ -0,0 +1,27 @@ +email: jon@example.com # must be valid (for certificate recovery and security alerts) +agree_tos: true # agree to the Telebit, Greenlock, and Let's Encrypt TOSes +community_member: true # receive infrequent relevant updates +telemetry: true # contribute to project telemetric data +webmin_domain: telebit.example.com +api_domain: api.telebit.example.com +shared_domain: telebit.example.com +shared_domains: + - telebit.example.com +servernames: # hostnames that direct to the Telebit Relay admin console + - telebit.example.com + - www.telebit.example.com + - api.telebit.example.com +vhost: /srv/www/:hostname # load secure websites at this path (uses template string, i.e. /var/www/:hostname/public) +trusted_issuers: + - oauth3.org +mailer: + url: 'https://api.mailgun.net/v3/example.com/messages' + api_key: 'key-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' + from: 'Telebit Wizard ' +greenlock: + version: 'draft-11' + server: 'https://acme-v02.api.letsencrypt.org/directory' + store: + strategy: le-store-certbot # certificate storage plugin + config_dir: /opt/telebit-relay/etc/acme # directory for ssl certificates +secret: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' # generate with node -e "console.log(crypto.randomBytes(16).toString('hex'))"