From 158c363c8868d96a599c663c5b665f8311b8a444 Mon Sep 17 00:00:00 2001 From: tigerbot Date: Wed, 10 May 2017 16:56:08 -0600 Subject: [PATCH] added example config to show what can currently be done --- goldilocks.example.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 goldilocks.example.yml diff --git a/goldilocks.example.yml b/goldilocks.example.yml new file mode 100644 index 0000000..1646a19 --- /dev/null +++ b/goldilocks.example.yml @@ -0,0 +1,30 @@ +tcp: + bind: + - 22 + - 80 + - 443 + modules: + - name: forward + ports: + - 22 + address: '127.0.0.1:8022' + +tls: + modules: + - name: proxy + domains: + - localhost.bar.daplie.me + - localhost.foo.daplie.me + address: '127.0.0.1:5443' + +http: + trustProxy: true + modules: + - name: proxy + domains: + - localhost.daplie.me + address: '127.0.0.1:4000' + - name: static + domains: + - '*.localhost.daplie.me' + root: '/srv/www/:hostname'