goldilocks.js/etc/goldilocks/goldilocks.example.yml

97 lines
1.7 KiB
YAML
Raw Normal View History

tcp:
bind:
- 22
- 80
- 443
modules:
2017-10-13 18:39:31 +00:00
- type: forward
ports:
- 22
address: '127.0.0.1:8022'
2017-10-13 18:39:31 +00:00
udp:
bind:
- 53
modules:
- type: forward
ports:
- 53
port: 5353
# default host is localhost
2017-06-14 16:58:56 +00:00
tls:
modules:
2017-10-13 18:39:31 +00:00
- type: proxy
domains:
- localhost.bar.daplie.me
- localhost.foo.daplie.me
address: '127.0.0.1:5443'
2017-10-13 18:39:31 +00:00
- type: acme
domains:
- '*.localhost.daplie.me'
email: 'guest@example.com'
challenge_type: 'http-01'
http:
trust_proxy: true
allow_insecure: false
2017-10-13 18:39:31 +00:00
primary_domain: localhost.daplie.me
modules:
2017-10-13 18:39:31 +00:00
- type: redirect
domains:
- localhost.beta.daplie.me
status: 301
from: /old/path/*/other/*
to: /path/new/:2/something/:1
2017-10-13 18:39:31 +00:00
- type: proxy
domains:
- localhost.daplie.me
host: localhost
2017-05-24 19:05:37 +00:00
port: 4000
2017-10-13 18:39:31 +00:00
- type: static
domains:
- '*.localhost.daplie.me'
root: '/srv/www/:hostname'
2017-10-13 18:39:31 +00:00
domains:
- names:
- localhost.gamma.daplie.me
modules:
tls:
- type: proxy
port: 6443
- names:
- beta.localhost.daplie.me
- baz.localhost.daplie.me
modules:
tls:
- type: acme
email: 'owner@example.com'
challenge_type: 'tls-sni-01'
# default server is 'https://acme-v01.api.letsencrypt.org/directory'
http:
- type: redirect
from: /nowhere/in/particular
to: /just/an/example
- type: proxy
address: '127.0.0.1:3001'
mdns:
disabled: false
port: 5353
broadcast: '224.0.0.251'
ttl: 300
2017-10-13 18:39:31 +00:00
# tunnel: jwt
# tunnel:
# - jwt1
# - jwt2
tunnel_server:
secret: abc123
servernames:
- 'tunnel.localhost.com'