changed example config to use snake_case

This commit is contained in:
tigerbot 2017-05-15 16:16:15 -06:00
parent 5719a8a434
commit 8599d383df
2 changed files with 7 additions and 3 deletions

View File

@ -66,6 +66,10 @@ function readConfigAndRun(args) {
);
}
}
var recase = require('recase').create({});
config = recase.camelCopy(config);
if (!config.dns) {
config.dns = { proxy: { port: 3053 } };
}

View File

@ -18,9 +18,9 @@ tls:
address: '127.0.0.1:5443'
http:
trustProxy: true
allowInsecure: false
primaryDomain: localhost.foo.daplie.me
trust_proxy: true
allow_insecure: false
primary_domain: localhost.foo.daplie.me
modules:
- name: proxy
domains: