70571d96e1 
								
							 
						 
						
							
							
								
								Add support for unix socket as upstream ( #1866 )  
							
							... 
							
							
							
							* Add support for unix socket as upstream
* Add CHANGELOG.md entry
* Add Unix socket documentation
* Don't export unixRoundTripper, switch from string prefix to Scheme match
* Add basic unix server mock
* Add some tests and comments 
							
						 
						
							2023-10-26 10:57:00 +01:00  
				
					
						
							
							
								 
						
							
								88f32aeaa1 
								
							 
						 
						
							
							
								
								rename Upstreams to UpstreamConfig and its Configs member to Upstreams then  
							
							
							
						 
						
							2021-09-17 12:37:57 +00:00  
				
					
						
							
							
								 
						
							
								662fa72e8c 
								
							 
						 
						
							
							
								
								Add ProxyRawPath tests  
							
							... 
							
							
							
							Refactor proxy_test to set mux/upstream options for each test
individually and add tests for encoded urls with ProxyRawPath set and
unset. 
							
						 
						
							2021-09-17 12:37:56 +00:00  
				
					
						
							
							
								 
						
							
								12ab4ef529 
								
							 
						 
						
							
							
								
								Make the Upstreams mux configurable  
							
							... 
							
							
							
							This commit changes Upstreams from []Upstream to a struct{}
moving the previous []Upstream into .Configs and adjusts all uses of it. 
							
						 
						
							2021-09-17 12:31:18 +00:00  
				
					
						
							
							
								 
						
							
								075cb9c3a0 
								
							 
						 
						
							
							
								
								Ensure upstreams are sorted by longest first  
							
							
							
						 
						
							2021-06-23 12:20:48 +01:00  
				
					
						
							
							
								 
						
							
								8a06779d41 
								
							 
						 
						
							
							
								
								Redirect request if it would match with an appended trailing slash  
							
							
							
						 
						
							2021-06-23 12:20:47 +01:00  
				
					
						
							
							
								 
						
							
								6c62b25bf1 
								
							 
						 
						
							
							
								
								Allow request paths to be rewritten before proxying to upstream server  
							
							
							
						 
						
							2021-06-23 12:20:46 +01:00  
				
					
						
							
							
								 
						
							
								befcdd9d04 
								
							 
						 
						
							
							
								
								Add pagewriter to upstream proxy  
							
							
							
						 
						
							2021-05-10 11:14:05 +01:00  
				
					
						
							
							
								 
						
							
								602dac7852 
								
							 
						 
						
							
							
								
								Move Logging to Middleware Package ( #1070 )  
							
							... 
							
							
							
							* Use a specialized ResponseWriter in middleware
* Track User & Upstream in RequestScope
* Wrap responses in our custom ResponseWriter
* Add tests for logging middleware
* Inject upstream metadata into request scope
* Use custom ResponseWriter only in logging middleware
* Assume RequestScope is never nil 
							
						 
						
							2021-03-06 17:27:16 +00:00  
				
					
						
							
							
								 
						
							
								a63ed0225c 
								
							 
						 
						
							
							
								
								Use ErrorPage to render proxy error page  
							
							
							
						 
						
							2021-02-12 21:12:27 +00:00  
				
					
						
							
							
								 
						
							
								3fa42edb73 
								
							 
						 
						
							
							
								
								Fix import path for v7 ( #800 )  
							
							... 
							
							
							
							* fix import path for v7
find ./ -name "*.go" | xargs sed -i -e 's|"github.com/oauth2-proxy/oauth2-proxy|"github.com/oauth2-proxy/oauth2-proxy/v7|'
* fix module path
* go mod tidy
* fix installation docs
* update CHANGELOG
* Update CHANGELOG.md
Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk>
Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk> 
							
						 
						
							2020-09-29 17:44:42 +01:00  
				
					
						
							
							
								 
						
							
								5b95ed3033 
								
							 
						 
						
							
							
								
								Add tests for upstream package  
							
							
							
						 
						
							2020-07-05 10:21:05 +01:00