You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Francis Lavoie
9ee68c1bd5
reverseproxy: Adjust defaults, document defaults ( #4436 )
* reverseproxy: Adjust defaults, document defaults
Related to some of the issues in https://github.com/caddyserver/caddy/issues/4245 , a complaint about the proxy transport defaults not being properly documented in https://caddy.community/t/default-values-for-directives/14254/6 .
- Dug into the stdlib to find the actual defaults for some of the timeouts and buffer limits, documenting them in godoc so the JSON docs get them next release.
- Moved the keep-alive and dial-timeout defaults from `reverseproxy.go` to `httptransport.go`. It doesn't make sense to set defaults in the proxy, because then any time the transport is configured with non-defaults, the keep-alive and dial-timeout defaults are lost!
- Sped up the dial timeout from 10s to 3s, in practice it rarely makes sense to wait a whole 10s for dialing. A shorter timeout helps a lot with the load balancer retries, so using something lower helps with user experience.
* reverseproxy: Make keepalive interval configurable via Caddyfile
* fastcgi: DialTimeout default for fastcgi transport too
4 years ago
..
caddyauth
go.mod: Migrate to golang.org/x/term (#4073)
4 years ago
encode
encode: ignore flushing until after first write (#4318)
4 years ago
fileserver
fileserver: browse: do not encode the paths in breadcrumbs and page title (#4410)
4 years ago
headers
headers: Canonicalize case in replace (fix #4330)
4 years ago
map
map: Fix 95c03506 (avoid repeated expansions)
4 years ago
push
headers: Support default header values in Caddyfile with '?' (#3807)
5 years ago
requestbody
Revert "requestbody: Allow overwriting remote address"
4 years ago
reverseproxy
reverseproxy: Adjust defaults, document defaults (#4436)
4 years ago
rewrite
rewrite: Implement regex path replacements
4 years ago
standard
encode,staticfiles: Content negotiation, precompressed files (#4045)
4 years ago
templates
fileserver: Fix compression breaks using httpInclude (#4352) (#4358)
4 years ago
app.go
caddyhttp: Placeholder for client cert in DER + base64 format (#4241)
4 years ago
autohttps.go
caddyhttp: Implement better logic for inserting the HTTP->HTTPS redirs (#4033)
4 years ago
caddyhttp.go
fileserver: properly handle escaped/non-ascii paths (#4332)
4 years ago
caddyhttp_test.go
caddyhttp: Refactor and export SanitizedPathJoin for use in fastcgi (#4207)
4 years ago
celmatcher.go
go.mod: Update direct dependencies
4 years ago
celmatcher_test.go
caddyhttp: Add support to resolve DN in CEL expression (#3608)
5 years ago
errors.go
ci: Use golangci's github action for linting (#3794)
5 years ago
marshalers.go
caddyhttp: Log empty value for typical password headers
4 years ago
matchers.go
caddyhttp: Sanitize the path before evaluating path matchers (#4407)
4 years ago
matchers_test.go
caddyhttp: Sanitize the path before evaluating path matchers (#4407)
4 years ago
metrics.go
metrics: Always track method label in uppercase (#3742)
5 years ago
metrics_test.go
Fix lint message in metrics tests
4 years ago
replacer.go
caddyhttp: Placeholder for client cert in DER + base64 format (#4241)
4 years ago
replacer_test.go
caddyfile: Fix `caddy fmt` nesting not decrementing (#4157)
4 years ago
responsematchers.go
General minor improvements to docs
4 years ago
responsematchers_test.go
reverseproxy: Add `handle_response` blocks to `reverse_proxy` (#3710) (#4021)
4 years ago
responsewriter.go
caddyhttp: Fix trailers when recording responses (fixes #3236)
5 years ago
routes.go
caddyhttp: Add support for triggering errors from `try_files` (#4346)
4 years ago
server.go
caddyhttp: Log non-500 handler errors at debug level (#4429)
4 years ago
staticerror.go
httpcaddyfile: Add `error` directive for the existing handler (#4034)
4 years ago
staticresp.go
caddyhttp: Check for invalid subdirectives of static_response
4 years ago
staticresp_test.go
Move from deprecated ioutil to os and io packages (#4364)
4 years ago
subroute.go
reverseproxy: Enable changing only the status code (close #2920)
5 years ago
vars.go
General minor improvements to docs
4 years ago