2017-05-10 22:56:08 +00:00
|
|
|
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:
|
2017-05-15 22:16:15 +00:00
|
|
|
trust_proxy: true
|
|
|
|
allow_insecure: false
|
|
|
|
primary_domain: localhost.foo.daplie.me
|
2017-05-10 22:56:08 +00:00
|
|
|
modules:
|
2017-05-16 19:04:08 +00:00
|
|
|
- name: redirect
|
|
|
|
domains:
|
|
|
|
- localhost.beta.daplie.me
|
|
|
|
status: 301
|
|
|
|
from: /old/path/*/other/*
|
|
|
|
to: /path/new/:2/something/:1
|
2017-05-10 22:56:08 +00:00
|
|
|
- name: proxy
|
|
|
|
domains:
|
|
|
|
- localhost.daplie.me
|
|
|
|
address: '127.0.0.1:4000'
|
|
|
|
- name: static
|
|
|
|
domains:
|
|
|
|
- '*.localhost.daplie.me'
|
|
|
|
root: '/srv/www/:hostname'
|