mirror of
				https://github.com/caddyserver/caddy.git
				synced 2025-11-03 19:17:29 -05:00 
			
		
		
		
	tls: Fix typo in error message, "incompabile" (#2147)
This commit is contained in:
		
							parent
							
								
									fe664c00ff
								
							
						
					
					
						commit
						294f6957f0
					
				@ -432,7 +432,7 @@ func MakeTLSConfig(configs []*Config) (*tls.Config, error) {
 | 
			
		||||
		// compatible), otherwise that is a configuration error
 | 
			
		||||
		if otherConfig, ok := configMap[cfg.Hostname]; ok {
 | 
			
		||||
			if err := assertConfigsCompatible(cfg, otherConfig); err != nil {
 | 
			
		||||
				return nil, fmt.Errorf("incompabile TLS configurations for the same SNI "+
 | 
			
		||||
				return nil, fmt.Errorf("incompatible TLS configurations for the same SNI "+
 | 
			
		||||
					"name (%s) on the same listener: %v",
 | 
			
		||||
					cfg.Hostname, err)
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user