mirror of
				https://github.com/TeaOSLab/EdgeAPI.git
				synced 2025-11-04 07:50:25 +08:00 
			
		
		
		
	实现基本的反向代理
This commit is contained in:
		@@ -136,7 +136,7 @@ func (this *OriginDAO) ComposeOriginConfig(originId int64) (*serverconfigs.Origi
 | 
			
		||||
		MaxConns:     int(origin.MaxConns),
 | 
			
		||||
		MaxIdleConns: int(origin.MaxIdleConns),
 | 
			
		||||
		RequestURI:   origin.HttpRequestURI,
 | 
			
		||||
		Host:         origin.Host,
 | 
			
		||||
		RequestHost:  origin.Host,
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if len(origin.Addr) > 0 && origin.Addr != "null" {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user