mirror of
				https://github.com/caddyserver/caddy.git
				synced 2025-10-31 10:37:24 -04:00 
			
		
		
		
	godoc
This commit is contained in:
		
							parent
							
								
									7613ae3bf0
								
							
						
					
					
						commit
						9e900b0a08
					
				| @ -104,6 +104,9 @@ var hopHeaders = []string{ | |||||||
| 	"Upgrade", | 	"Upgrade", | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | // InsecureTransport is used to facilitate HTTPS proxying | ||||||
|  | // when it is OK for upstream to be using a bad certificate, | ||||||
|  | // since this transport skips verification. | ||||||
| var InsecureTransport http.RoundTripper = &http.Transport{ | var InsecureTransport http.RoundTripper = &http.Transport{ | ||||||
| 	Proxy: http.ProxyFromEnvironment, | 	Proxy: http.ProxyFromEnvironment, | ||||||
| 	Dial: (&net.Dialer{ | 	Dial: (&net.Dialer{ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user