Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-04-24 | caddyhttp: Fix auto redirects for catch-all HTTPS sites | Matthew Holt | |
Prior logic was not setting up redirects for the case when domain names are not known, but the server still clearly has TLS enabled. | |||
2020-04-22 | reverseproxy: Don't forget to provision embedded headers handler | Matthew Holt | |
https://caddy.community/t/set-cookie-manipulation-in-reverse-proxy/7666?u=matt | |||
2020-04-22 | caddyhttp: Fix trailers when recording responses (fixes #3236) | Matthew Holt | |
2020-04-22 | httpcaddyfile: Why was this code repeated?? | Matthew Holt | |
2020-04-22 | caddyhttp: Fix common_log format's user ID placeholder (#3300) | Francis Lavoie | |
2020-04-21 | reverseproxy: always set req.URL.Host with upstream (#3297) | westwin | |
2020-04-21 | docs: Minor improvements | Matthew Holt | |
2020-04-20 | ci: fuzz: remove the fuzzer of the Caddyfile parser (#3288) | Mohammed Al Sahaf | |
2020-04-19 | readme: Fix broken links (#3283) | Francis Lavoie | |
Credit to @kanagawa41 for spotting these! Fixes #3282 | |||
2020-04-17 | doc: Improve comment | Matthew Holt | |
2020-04-17 | ci: Cache the GOCACHE directory to speed up builds and tests (#3273) | Francis Lavoie | |
* ci: Let's see if caching GOCACHE helps... * ci: Use GOCACHE env instead (fixes windows), remove build -a * ci: Hack to pull the GOCACHE env up to CI vars * ci: Change cache key (mainly to wipe cache now) | |||
2020-04-17 | reverseproxy: Set X-Forwarded-Proto (closes #3275) (#3276) | Matt Holt | |
2020-04-16 | docs: Pull contributing document from v1 branch (#3270) | Francis Lavoie | |
* docs: Pull contributing document from v1 branch * Update .github/CONTRIBUTING.md Co-Authored-By: Matt Holt <mholt@users.noreply.github.com> * docs: [Responsible -> Coordinated] Disclosure * docs: Link to the new security policy page Co-authored-by: Matt Holt <mholt@users.noreply.github.com> | |||
2020-04-16 | Add security policy | Matthew Holt | |
2020-04-16 | admin: Close admin endpoint when shutting down (fixes #3269) | Matthew Holt | |
2020-04-16 | admin: Disable host checking if wildcard interface is specified | Matthew Holt | |
To clarify, listening on wildcard interfaces is NOT the default and should only be done under certain circumstances and when you know what you're doing. Emits a warning in the log. Fixes https://github.com/caddyserver/caddy-docker/issues/71 | |||
2020-04-14 | httpcaddyfile: Don't lowercase placeholder contents (fixes #3264) | Matthew Holt | |
2020-04-14 | go.mod: Update dependencies including CertMagic (fixes #3202) | Matthew Holt | |
2020-04-13 | core: Don't return error on RegisterModule() and RegisterAdapter() | Matthew Holt | |
These functions are called at init-time, and their inputs are hard-coded so there are no environmental or user factors that could make it fail or succeed; the error return values are often ignored, and when they're not, they are usually a fatal error anyway. To ensure that a programmer mistake is not missed, we now panic instead. Last breaking change 🤞 | |||
2020-04-11 | Fix some godocs | Matthew Holt | |
2020-04-10 | admin: Always enforce Host header checks | Matthew Holt | |
With a simple heuristic for loopback addresses, we can enable this by default without adding unnecessary inconvenience. | |||
2020-04-10 | Update link in readme | Matthew Holt | |
2020-04-10 | tests: Clean up redundant type declarations | Matthew Holt | |
2020-04-10 | httpcaddyfile: Don't remove empty TLS conn policies (fix #3249) | Matthew Holt | |
Not sure why I thought that would be a good idea | |||
2020-04-10 | caddyhttp: Add nil check (fixes #3248 and fixes #3250) | Matthew Holt | |
2020-04-10 | Update readme | Matthew Holt | |
2020-04-09 | reverseproxy: Minor tweaks | Matthew Holt | |
We'll need that context in v2.1 when the transport can manage its own client certificates; see #3198 | |||
2020-04-09 | caddytls: Don't initialize default internal issuer unless necessary | Matthew Holt | |
Otherwise, a password prompt can occur unnecessarily. | |||
2020-04-09 | logging: Colorize output in all cases of stdout/stderr | Matthew Holt | |
2020-04-09 | caddytls: Fix for TLS conn policy being applied to HTTP-only servers (#3243) | Matt Holt | |
* httpcaddyfile: Don't add TLS policy to HTTP-only server (#3193, #3223) * Account for HTTP port * Add integration test written by @sarge | |||
2020-04-09 | go.mod: Update certmagic | Matthew Holt | |
2020-04-09 | go.mod: Try smallstep again | Matthew Holt | |
See if the broken dependency cycle has been... well, broken | |||
2020-04-09 | go.mod: Update smallstep/cli | Matthew Holt | |
2020-04-09 | go.mod: Update dependencies | Matthew Holt | |
Should fix the builds with GOPROXY=direct! | |||
2020-04-08 | caddyhttp: CEL matcher checks return type; slight refactor | Matthew Holt | |
As per https://github.com/caddyserver/caddy/issues/3051#issuecomment-611200414 | |||
2020-04-08 | chore: make the linter happier (#3245) | Mohammed Al Sahaf | |
* chore: make the linter happier * chore: remove reference to maligned linter in .golangci.yml | |||
2020-04-08 | httpcaddyfile, caddytls: Multiple edge case fixes; add tests | Matthew Holt | |
- Create two default automation policies; if the TLS app is used in isolation with the 'automate' certificate loader, it will now use an internal issuer for internal-only names, and an ACME issuer for all other names by default. - If the HTTP Caddyfile adds an 'automate' loader, it now also adds an automation policy for any names in that loader that do not qualify for public certificates so that they will be issued internally. (It might be nice if this wasn't necessary, but the alternative is to either make auto-HTTPS logic way more complex by scanning the names in the 'automate' loader, or to have an automation policy without an issuer switch between default issuer based on the name being issued a certificate - I think I like the latter option better, right now we do something kind of like that but at a level above each individual automation policies, we do that switch only when no automation policies match, rather than when a policy without an issuer does match.) - Set the default LoggerName rather than a LoggerNames with an empty host value, which is now taken literally rather than as a catch-all. - hostsFromKeys, the function that gets a list of hosts from server block keys, no longer returns an empty string in its resulting slice, ever. | |||
2020-04-08 | caddyhttp: Fix logging name associations by adding a default | Matthew Holt | |
2020-04-08 | logging: Only colorize console output | Matthew Holt | |
2020-04-08 | httpcaddyfile: Add key_type global option (#3231) | Francis Lavoie | |
2020-04-08 | cel: Leverage DefaultAdapter to extend CEL's type system | Matthew Holt | |
Thanks to @TristonianJones for the tip! https://github.com/caddyserver/caddy/commit/105acfa08664c97460a6fe3fb49635618be5bcb2#r38358983 | |||
2020-04-08 | caddyhttp: Return port placeholders as ints | Matthew Holt | |
2020-04-07 | basicauth: Re-prompt after invalid credentials (fix #3239) (#3240) | Matt Holt | |
2020-04-07 | templates: Update docs | Matthew Holt | |
2020-04-07 | templates: Add env function (closes #3237) | Matthew Holt | |
2020-04-07 | Merge branch 'remove-ntlm' | Matthew Holt | |
2020-04-07 | reverseproxy: Remove NTLM transport; refactor and improve docs | Matthew Holt | |
2020-04-07 | core: Rename ParsedAddress -> NetworkAddress | Matthew Holt | |
2020-04-06 | docs: Clarify "not" matcher structure (see #3233) | Matthew Holt | |
2020-04-06 | caddyhttp: Add missing LB policy Caddyfile unmarshalers (#3230) | Francis Lavoie | |