| 
						
						
							
								
							
						
						
					 | 
					@ -8,8 +8,8 @@ import ( | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						"net/http" | 
					 | 
					 | 
						"net/http" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						"strconv" | 
					 | 
					 | 
						"strconv" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
						"bitbucket.org/lightcodelabs/caddy2" | 
					 | 
					 | 
						"github.com/caddyserver/caddy2" | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
						"bitbucket.org/lightcodelabs/caddy2/modules/caddytls" | 
					 | 
					 | 
						"github.com/caddyserver/caddy2/modules/caddytls" | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					) | 
					 | 
					 | 
					) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					// Server is an HTTP server.
 | 
					 | 
					 | 
					// Server is an HTTP server.
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -22,6 +22,7 @@ type Server struct { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						MaxHeaderBytes    int              `json:"max_header_bytes,omitempty"` | 
					 | 
					 | 
						MaxHeaderBytes    int              `json:"max_header_bytes,omitempty"` | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						Routes            RouteList        `json:"routes,omitempty"` | 
					 | 
					 | 
						Routes            RouteList        `json:"routes,omitempty"` | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						Errors            *httpErrorConfig `json:"errors,omitempty"` | 
					 | 
					 | 
						Errors            *httpErrorConfig `json:"errors,omitempty"` | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
						// TODO: Having a separate connection policy to act as a default or template would be handy... then override using first matching conn policy...
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						TLSConnPolicies       caddytls.ConnectionPolicies `json:"tls_connection_policies,omitempty"` | 
					 | 
					 | 
						TLSConnPolicies       caddytls.ConnectionPolicies `json:"tls_connection_policies,omitempty"` | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						DisableAutoHTTPS      bool                        `json:"disable_auto_https,omitempty"` | 
					 | 
					 | 
						DisableAutoHTTPS      bool                        `json:"disable_auto_https,omitempty"` | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						DisableAutoHTTPSRedir bool                        `json:"disable_auto_https_redir,omitempty"` | 
					 | 
					 | 
						DisableAutoHTTPSRedir bool                        `json:"disable_auto_https_redir,omitempty"` | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |