| 
									
										
										
										
											2017-05-10 16:56:08 -06:00
										 |  |  | tcp:
 | 
					
						
							|  |  |  |   bind:
 | 
					
						
							|  |  |  |     - 22
 | 
					
						
							|  |  |  |     - 80
 | 
					
						
							|  |  |  |     - 443
 | 
					
						
							|  |  |  |   modules:
 | 
					
						
							| 
									
										
										
										
											2017-10-13 12:39:31 -06:00
										 |  |  |     - type: forward
 | 
					
						
							| 
									
										
										
										
											2017-05-10 16:56:08 -06:00
										 |  |  |       ports:
 | 
					
						
							|  |  |  |         - 22
 | 
					
						
							|  |  |  |       address: '127.0.0.1:8022'
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-10-13 12:39:31 -06:00
										 |  |  | udp:
 | 
					
						
							|  |  |  |   bind:
 | 
					
						
							|  |  |  |     - 53
 | 
					
						
							|  |  |  |   modules:
 | 
					
						
							|  |  |  |     - type: forward
 | 
					
						
							|  |  |  |       ports:
 | 
					
						
							|  |  |  |         - 53
 | 
					
						
							|  |  |  |       port: 5353
 | 
					
						
							|  |  |  |       # default host is localhost
 | 
					
						
							| 
									
										
										
										
											2017-06-14 10:58:56 -06:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-05-10 16:56:08 -06:00
										 |  |  | tls:
 | 
					
						
							|  |  |  |   modules:
 | 
					
						
							| 
									
										
										
										
											2017-10-13 12:39:31 -06:00
										 |  |  |     - type: proxy
 | 
					
						
							| 
									
										
										
										
											2017-05-10 16:56:08 -06:00
										 |  |  |       domains:
 | 
					
						
							|  |  |  |         - localhost.bar.daplie.me
 | 
					
						
							|  |  |  |         - localhost.foo.daplie.me
 | 
					
						
							|  |  |  |       address: '127.0.0.1:5443'
 | 
					
						
							| 
									
										
										
										
											2017-10-13 12:39:31 -06:00
										 |  |  |     - type: acme
 | 
					
						
							|  |  |  |       domains:
 | 
					
						
							|  |  |  |         - '*.localhost.daplie.me'
 | 
					
						
							| 
									
										
										
										
											2017-05-24 18:16:01 -06:00
										 |  |  |       email: 'guest@example.com'
 | 
					
						
							|  |  |  |       challenge_type: 'http-01'
 | 
					
						
							| 
									
										
										
										
											2017-05-10 16:56:08 -06:00
										 |  |  | 
 | 
					
						
							|  |  |  | http:
 | 
					
						
							| 
									
										
										
										
											2017-05-15 16:16:15 -06:00
										 |  |  |   trust_proxy: true
 | 
					
						
							|  |  |  |   allow_insecure: false
 | 
					
						
							| 
									
										
										
										
											2017-10-13 12:39:31 -06:00
										 |  |  |   primary_domain: localhost.daplie.me
 | 
					
						
							| 
									
										
										
										
											2017-05-23 18:26:03 -06:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-05-10 16:56:08 -06:00
										 |  |  |   modules:
 | 
					
						
							| 
									
										
										
										
											2017-10-13 12:39:31 -06:00
										 |  |  |     - type: redirect
 | 
					
						
							| 
									
										
										
										
											2017-05-16 13:04:08 -06:00
										 |  |  |       domains:
 | 
					
						
							|  |  |  |         - localhost.beta.daplie.me
 | 
					
						
							|  |  |  |       status: 301
 | 
					
						
							|  |  |  |       from: /old/path/*/other/*
 | 
					
						
							|  |  |  |       to: /path/new/:2/something/:1
 | 
					
						
							| 
									
										
										
										
											2017-10-13 12:39:31 -06:00
										 |  |  |     - type: proxy
 | 
					
						
							| 
									
										
										
										
											2017-05-10 16:56:08 -06:00
										 |  |  |       domains:
 | 
					
						
							|  |  |  |         - localhost.daplie.me
 | 
					
						
							| 
									
										
										
										
											2017-05-29 15:14:37 -06:00
										 |  |  |       host: localhost
 | 
					
						
							| 
									
										
										
										
											2017-05-24 13:05:37 -06:00
										 |  |  |       port: 4000
 | 
					
						
							| 
									
										
										
										
											2017-10-13 12:39:31 -06:00
										 |  |  |     - type: static
 | 
					
						
							| 
									
										
										
										
											2017-05-10 16:56:08 -06:00
										 |  |  |       domains:
 | 
					
						
							|  |  |  |         - '*.localhost.daplie.me'
 | 
					
						
							|  |  |  |       root: '/srv/www/:hostname'
 | 
					
						
							| 
									
										
										
										
											2017-05-24 11:42:17 -06:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-10-13 12:39:31 -06: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'
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-05-24 11:42:17 -06:00
										 |  |  | mdns:
 | 
					
						
							|  |  |  |   disabled: false
 | 
					
						
							|  |  |  |   port: 5353
 | 
					
						
							|  |  |  |   broadcast: '224.0.0.251'
 | 
					
						
							|  |  |  |   ttl: 300
 | 
					
						
							| 
									
										
										
										
											2017-09-28 11:18:44 -06:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-10-13 12:39:31 -06:00
										 |  |  | tunnel_server:
 | 
					
						
							|  |  |  |   secret: abc123
 | 
					
						
							|  |  |  |   servernames:
 | 
					
						
							|  |  |  |     - 'tunnel.localhost.com'
 | 
					
						
							| 
									
										
										
										
											2017-10-17 13:07:52 -06:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-09-28 11:18:44 -06:00
										 |  |  | ddns:
 | 
					
						
							| 
									
										
										
										
											2017-10-18 12:06:01 -06:00
										 |  |  |   loopback:
 | 
					
						
							|  |  |  |     type: 'tunnel@oauth3.org'
 | 
					
						
							|  |  |  |     domain: oauth3.org
 | 
					
						
							|  |  |  |   tunnel:
 | 
					
						
							|  |  |  |     type: 'tunnel@oauth3.org'
 | 
					
						
							|  |  |  |     token: user_token_id
 | 
					
						
							|  |  |  |   modules:
 | 
					
						
							|  |  |  |     - type: 'dns@oauth3.org'
 | 
					
						
							|  |  |  |       token: user_token_id
 | 
					
						
							|  |  |  |       domains:
 | 
					
						
							|  |  |  |         - www.example.com
 | 
					
						
							|  |  |  |         - api.example.com
 | 
					
						
							|  |  |  |         - test.example.com
 |