44cb804b9e 
								
									
								
							
								 
							
						 
						
							
							
								
								reverse_proxy: Configurable request headers on active health checks  
							
							
 
							
							
							See https://caddy.community/t/health-check-user-agent/6309  
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								c11e3bffd6 
								
									
								
							
								 
							
						 
						
							
							
								
								Add file-server and reverse-proxy subcommands  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								2f684e42d5 
								
									
								
							
								 
							
						 
						
							
							
								
								reverse_proxy/headers: Expose header replacement ability in Caddyfile  
							
							
 
							
							
							Adds header_up and header_down subdirectives to reverse_proxy 
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								484cee1ac1 
								
									
								
							
								 
							
						 
						
							
							
								
								fastcgi: Implement / redirect for index.php with php_fastcgi directive ( #2754 )  
							
							
 
							
							
							* fastcgi: Implement / redirect for index.php with php_fastcgi directive
See #2752  and https://caddy.community/t/v2-redirect-path-to-path-index-php-with-assets/6196?u=matt 
* caddyhttp: MatchNegate implements json.Marshaler
* fastcgi: Add /index.php element to try_files matcher
* fastcgi: Make /index.php redirect permanent 
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								db4c73dd58 
								
									
								
							
								 
							
						 
						
							
							
								
								reverse_proxy: Close idle connections on module unload  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								f15f0d5839 
								
									
								
							
								 
							
						 
						
							
							
								
								Eliminate some TODOs  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								e73b117332 
								
									
								
							
								 
							
						 
						
							
							
								
								reverse_proxy: Ability to mutate headers; set upstream placeholders  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								758269124e 
								
									
								
							
								 
							
						 
						
							
							
								
								reverseproxy: Fix host and port on requests; fix Caddyfile parser  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								194df652eb 
								
									
								
							
								 
							
						 
						
							
							
								
								reverseproxy: Add 'tls' option to enable HTTPS with HTTP transport  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								2459c292a4 
								
									
								
							
								 
							
						 
						
							
							
								
								caddyfile: Improve Dispenser.NextBlock() to support nesting  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								0cf592fa2e 
								
									
								
							
								 
							
						 
						
							
							
								
								New 'php_fastcgi' directive for convenient PHP+FastCGI reverse proxy  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								c32b7e8865 
								
									
								
							
								 
							
						 
						
							
							
								
								fastcgi: Make EnvVars a map instead of a slice  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								b4f4fcd437 
								
									
								
							
								 
							
						 
						
							
							
								
								Migrate some selection policy tests over to v2  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								50e62d06bc 
								
									
								
							
								 
							
						 
						
							
							
								
								reverse_proxy: Caddyfile integration (and fix blocks in Dispenser)  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								14f9662f9c 
								
									
								
							
								 
							
						 
						
							
							
								
								Various fixes/tweaks to HTTP placeholder variables and file matching  
							
							
 
							
							
							- Rename http.var.* -> http.vars.* to be more consistent
- Prefixing a path matcher with * now invokes simple suffix matching
- Handlers and matchers that need a root path default to {http.vars.root}
- Clean replacer output on the file matcher's file selection suffix 
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								21d7b662e7 
								
									
								
							
								 
							
						 
						
							
							
								
								fastcgi: Use request context as base, not a new one  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								d2e46c2be0 
								
									
								
							
								 
							
						 
						
							
							
								
								fastcgi: Set default root path; add interface guards  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								80b54f3b9d 
								
									
								
							
								 
							
						 
						
							
							
								
								Add original URI to request context; implement into fastcgi env  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								0830fbad03 
								
									
								
							
								 
							
						 
						
							
							
								
								Reconcile upstream dial addresses and request host/URL information  
							
							
 
							
							
							My goodness that was complicated
Blessed be request.Context
Sort of 
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								a60d54dbfd 
								
									
								
							
								 
							
						 
						
							
							
								
								reverse_proxy: Ignore context.Canceled errors  
							
							
 
							
							
							These happen when downstream clients cancel the request, but that's not
our problem nor a failure in our end 
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								acb8f0e0c2 
								
									
								
							
								 
							
						 
						
							
							
								
								Integrate circuit breaker modules with reverse proxy  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								652460e03e 
								
									
								
							
								 
							
						 
						
							
							
								
								Some cleanup and godoc  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								4a1e1649bc 
								
									
								
							
								 
							
						 
						
							
							
								
								reverse_proxy: Implement remaining TLS config for proxy to backend  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								ccfb12347b 
								
									
								
							
								 
							
						 
						
							
							
								
								reverse_proxy: Implement active health checks  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								026df7c5cb 
								
									
								
							
								 
							
						 
						
							
							
								
								reverse_proxy: WIP refactor and support for FastCGI  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								c9980fd367 
								
									
								
							
								 
							
						 
						
							
							
								
								Refactor Caddyfile adapter and module registration  
							
							
 
							
							
							Use piles from which to draw config values.
Module values can return their name, so now we can do two-way mapping
from value to name and name to value; whereas before we could only map
name to value. This was problematic with the Caddyfile adapter since
it receives values and needs to know the name to put in the config. 
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								c4159ef76d 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix module-related errors  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								ab885f07b8 
								
									
								
							
								 
							
						 
						
							
							
								
								Implement config adapters and beginning of Caddyfile adapter  
							
							
 
							
							
							Along with several other changes, such as renaming caddyhttp.ServerRoute
to caddyhttp.Route, exporting some types that were not exported before,
and tweaking the caddytls TLS values to be more consistent.
Notably, we also now disable automatic cert management for names which
already have a cert (manually) loaded into the cache. These names no
longer need to be specified in the "skip_certificates" field of the
automatic HTTPS config, because they will be skipped automatically. 
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								ccb5d19c25 
								
									
								
							
								 
							
						 
						
							
							
								
								Get module name at runtime, and tidy up modules  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								63674ba081 
								
									
								
							
								 
							
						 
						
							
							
								
								Rename handler modules to use http.handlers namespace  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								fdd871e177 
								
									
								
							
								 
							
						 
						
							
							
								
								go.mod: Append /v2 to module name; update all import paths  
							
							
 
							
							
							See https://github.com/golang/go/wiki/Modules#semantic-import-versioning  
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3177ee8010 
								
							
								 
							
						 
						
							
							
								
								Add license  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5137859e47 
								
							
								 
							
						 
						
							
							
								
								Rename caddy2 -> caddy  
							
							
 
							
							
							Removes the version from the package name 
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								878ae0002a 
								
							
								 
							
						 
						
							
							
								
								fix goroutine leak in healthcheckers  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								613aecb898 
								
							
								 
							
						 
						
							
							
								
								Change import paths to GitHub package names  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bc00d840e8 
								
							
								 
							
						 
						
							
							
								
								Export types and fields necessary to build configs (for config adapters)  
							
							
 
							
							
							Also flag most fields with 'omitempty' for JSON marshaling 
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2fd98cb040 
								
							
								 
							
						 
						
							
							
								
								Module.New() does not need to return an error  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								043eb1d9e5 
								
							
								 
							
						 
						
							
							
								
								move internal packages to pkg folder and update reverse proxy  
							
							
 
							
							
							* set automatic https error type for cert-magic failures
* add state to onload and unload methods
* update reverse proxy to use Provision() and Cleanup() 
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1f0c061ce3 
								
							
								 
							
						 
						
							
							
								
								Architectural shift to using context for config and module state  
							
							
								
 
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1136e2cfee 
								
							
								 
							
						 
						
							
							
								
								Add reverse proxy  
							
							
								
 
							
							
						 
						7 years ago