changed example config to use snake_case
This commit is contained in:
		
							parent
							
								
									5719a8a434
								
							
						
					
					
						commit
						8599d383df
					
				| @ -66,6 +66,10 @@ function readConfigAndRun(args) { | |||||||
|       ); |       ); | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
|  | 
 | ||||||
|  |   var recase = require('recase').create({}); | ||||||
|  |   config = recase.camelCopy(config); | ||||||
|  | 
 | ||||||
|   if (!config.dns) { |   if (!config.dns) { | ||||||
|     config.dns = { proxy: { port: 3053 } }; |     config.dns = { proxy: { port: 3053 } }; | ||||||
|   } |   } | ||||||
|  | |||||||
| @ -18,9 +18,9 @@ tls: | |||||||
|       address: '127.0.0.1:5443' |       address: '127.0.0.1:5443' | ||||||
| 
 | 
 | ||||||
| http: | http: | ||||||
|   trustProxy: true |   trust_proxy: true | ||||||
|   allowInsecure: false |   allow_insecure: false | ||||||
|   primaryDomain: localhost.foo.daplie.me |   primary_domain: localhost.foo.daplie.me | ||||||
|   modules: |   modules: | ||||||
|     - name: proxy |     - name: proxy | ||||||
|       domains: |       domains: | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user