| 
									
										
										
										
											2017-05-10 16:56:08 -06:00
										 |  |  | tcp:
 | 
					
						
							|  |  |  |   bind:
 | 
					
						
							|  |  |  |     - 22
 | 
					
						
							|  |  |  |     - 80
 | 
					
						
							|  |  |  |     - 443
 | 
					
						
							|  |  |  |   modules:
 | 
					
						
							|  |  |  |     - name: forward
 | 
					
						
							|  |  |  |       ports:
 | 
					
						
							|  |  |  |         - 22
 | 
					
						
							|  |  |  |       address: '127.0.0.1:8022'
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | tls:
 | 
					
						
							| 
									
										
										
										
											2017-05-24 18:16:01 -06:00
										 |  |  |   acme:
 | 
					
						
							|  |  |  |     email: 'joe.shmoe@example.com'
 | 
					
						
							|  |  |  |     server: 'https://acme-staging.api.letsencrypt.org/directory'
 | 
					
						
							|  |  |  |     challenge_type: 'http-01'
 | 
					
						
							|  |  |  |     approved_domains:
 | 
					
						
							|  |  |  |       - localhost.baz.daplie.me
 | 
					
						
							|  |  |  |       - localhost.beta.daplie.me
 | 
					
						
							| 
									
										
										
										
											2017-05-23 18:26:03 -06:00
										 |  |  |   domains:
 | 
					
						
							|  |  |  |     - names:
 | 
					
						
							|  |  |  |         - localhost.gamma.daplie.me
 | 
					
						
							|  |  |  |       modules:
 | 
					
						
							|  |  |  |         - name: proxy
 | 
					
						
							|  |  |  |           address: '127.0.0.1:6443'
 | 
					
						
							| 
									
										
										
										
											2017-05-24 18:16:01 -06:00
										 |  |  |     - names:
 | 
					
						
							|  |  |  |         - beta.localhost.daplie.me
 | 
					
						
							|  |  |  |         - baz.localhost.daplie.me
 | 
					
						
							|  |  |  |       modules:
 | 
					
						
							|  |  |  |         - name: acme
 | 
					
						
							|  |  |  |           email: 'owner@example.com'
 | 
					
						
							|  |  |  |           challenge_type: 'tls-sni-01'
 | 
					
						
							|  |  |  |           # default server is 'https://acme-v01.api.letsencrypt.org/directory'
 | 
					
						
							| 
									
										
										
										
											2017-05-10 16:56:08 -06:00
										 |  |  |   modules:
 | 
					
						
							|  |  |  |     - name: proxy
 | 
					
						
							|  |  |  |       domains:
 | 
					
						
							|  |  |  |         - localhost.bar.daplie.me
 | 
					
						
							|  |  |  |         - localhost.foo.daplie.me
 | 
					
						
							|  |  |  |       address: '127.0.0.1:5443'
 | 
					
						
							| 
									
										
										
										
											2017-05-24 18:16:01 -06:00
										 |  |  |     - name: acme
 | 
					
						
							|  |  |  |       email: 'guest@example.com'
 | 
					
						
							|  |  |  |       challenge_type: 'http-01'
 | 
					
						
							|  |  |  |       domains:
 | 
					
						
							|  |  |  |         - foo.localhost.daplie.me
 | 
					
						
							|  |  |  |         - gamma.localhost.daplie.me
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-05-10 16:56:08 -06:00
										 |  |  | 
 | 
					
						
							|  |  |  | http:
 | 
					
						
							| 
									
										
										
										
											2017-05-15 16:16:15 -06:00
										 |  |  |   trust_proxy: true
 | 
					
						
							|  |  |  |   allow_insecure: false
 | 
					
						
							|  |  |  |   primary_domain: localhost.foo.daplie.me
 | 
					
						
							| 
									
										
										
										
											2017-05-23 18:26:03 -06:00
										 |  |  |   domains:
 | 
					
						
							|  |  |  |     - names:
 | 
					
						
							|  |  |  |         - localhost.baz.daplie.me
 | 
					
						
							|  |  |  |       modules:
 | 
					
						
							|  |  |  |         - name: redirect
 | 
					
						
							|  |  |  |           from: /nowhere/in/particular
 | 
					
						
							|  |  |  |           to: /just/an/example
 | 
					
						
							|  |  |  |         - name: proxy
 | 
					
						
							| 
									
										
										
										
											2017-05-24 13:05:37 -06:00
										 |  |  |           port: 3001
 | 
					
						
							| 
									
										
										
										
											2017-05-23 18:26:03 -06:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-05-10 16:56:08 -06:00
										 |  |  |   modules:
 | 
					
						
							| 
									
										
										
										
											2017-05-16 13:04:08 -06:00
										 |  |  |     - name: redirect
 | 
					
						
							|  |  |  |       domains:
 | 
					
						
							|  |  |  |         - localhost.beta.daplie.me
 | 
					
						
							|  |  |  |       status: 301
 | 
					
						
							|  |  |  |       from: /old/path/*/other/*
 | 
					
						
							|  |  |  |       to: /path/new/:2/something/:1
 | 
					
						
							| 
									
										
										
										
											2017-05-10 16:56:08 -06:00
										 |  |  |     - name: proxy
 | 
					
						
							|  |  |  |       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-05-10 16:56:08 -06:00
										 |  |  |     - name: static
 | 
					
						
							|  |  |  |       domains:
 | 
					
						
							|  |  |  |         - '*.localhost.daplie.me'
 | 
					
						
							|  |  |  |       root: '/srv/www/:hostname'
 | 
					
						
							| 
									
										
										
										
											2017-05-24 11:42:17 -06:00
										 |  |  | 
 | 
					
						
							|  |  |  | mdns:
 | 
					
						
							|  |  |  |   disabled: false
 | 
					
						
							|  |  |  |   port: 5353
 | 
					
						
							|  |  |  |   broadcast: '224.0.0.251'
 | 
					
						
							|  |  |  |   ttl: 300
 |