Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-08-23 | templates: cap of slice should not be smaller than length (#4975) | jedy | |
2022-08-23 | caddyhttp: Fix for nil `handlerErr.Err` (#4977) | Francis Lavoie | |
2022-08-22 | caddyhttp: Set `http.error.message` to the HandlerError message (#4971) | Francis Lavoie | |
2022-08-17 | core: Change net.IP to netip.Addr; use netip.Prefix (#4966) | WilczyńskiT | |
Co-authored-by: Matt Holt <mholt@users.noreply.github.com> | |||
2022-08-16 | Clean up metrics test code | Matthew Holt | |
No need to use != for booleans | |||
2022-08-16 | caddyhttp: Smarter path matching and rewriting (#4948) | Matt Holt | |
Co-authored-by: RussellLuo <luopeng.he@gmail.com> | |||
2022-08-15 | fileserver: reset buffer before using it (#4962) (#4963) | Abdussamet Koçak | |
2022-08-15 | caddyhttp: Enable HTTP/3 by default (#4707) | Matt Holt | |
2022-08-12 | reverseproxy: Add `unix+h2c` Caddyfile network shortcut (#4953) | Francis Lavoie | |
2022-08-12 | reverseproxy: Ignore context cancel in stream mode (#4952) | Matt Holt | |
2022-08-12 | reverseproxy: Fix H2C dialer using new stdlib `DialTLSContext` (#4951) | Francis Lavoie | |
2022-08-09 | reverseproxy: Support 1xx status codes (HTTP early hints) (#4882) | Kévin Dunglas | |
2022-08-08 | logging: Fix `cookie` filter (#4943) | Francis Lavoie | |
2022-08-08 | fileserver: Better fix for Etag of compressed files | Matthew Holt | |
2022-08-08 | fileserver: Generate Etag from sidecar file | Matthew Holt | |
Don't use the primary/uncompressed file for Etag when serving sidecars. This was just overlooked initially. | |||
2022-08-08 | Improve docs for ZeroSSL issuer | Matthew Holt | |
2022-08-06 | Replace strings.Index with strings.Cut (#4932) | Chirag Maheshwari | |
2022-08-04 | Replace strings.Index usages with strings.Cut (#4930) | WilczyńskiT | |
2022-08-04 | cmd: Use newly-available version information (#4931) | Matt Holt | |
2022-08-03 | httpserver: Configurable shutdown delay (#4906) | Matt Holt | |
2022-08-02 | chore: Bump up to Go 1.19, minimum 1.18 (#4925) | Francis Lavoie | |
2022-08-01 | caddyhttp: Implement `caddy respond` command (#4870) | Matt Holt | |
2022-07-31 | fileserver: Support virtual file system in Caddyfile | Matthew Holt | |
2022-07-30 | fileserver: Support virtual file systems (#4909) | Matt Holt | |
* fileserver: Support virtual file systems (close #3720) This change replaces the hard-coded use of os.Open() and os.Stat() with the use of the new (Go 1.16) io/fs APIs, enabling virtual file systems. It introduces a new module namespace, caddy.fs, for such file systems. Also improve documentation for the file server. I realized it was one of the first modules written for Caddy 2, and the docs hadn't really been updated since! * Virtualize FS for file matcher; minor tweaks * Fix tests and rename dirFS -> osFS (Since we do not use a root directory, it is dynamic.) | |||
2022-07-29 | core: Windows service integration (#4790) | WingLim | |
Co-authored-by: Matthew Holt <mholt@users.noreply.github.com> | |||
2022-07-28 | Ignore linter warnings | Matthew Holt | |
Use of non-cryptographic random numbers in the load balancing is intentional. | |||
2022-07-28 | caddyhttp: Clear out matcher error immediately after grabbing it (#4916) | Francis Lavoie | |
Co-authored-by: Matthew Holt <mholt@users.noreply.github.com> | |||
2022-07-28 | Finish fixing lint errors from ea8df6ff | Matthew Holt | |
Follows up #4915 | |||
2022-07-28 | caddytls: Remove PreferServerCipherSuites | Matthew Holt | |
It has been deprecated by Go | |||
2022-07-28 | caddyhttp: Use new CEL APIs (fix #4915) | Matthew Holt | |
Hahaha this is the ultimate "I have no idea what I'm doing" commit but it compiles and the tests pass and I declare victory! ... probably broke something, should be tested more. It is nice that the protobuf dependency becomes indirect now. | |||
2022-07-25 | caddyhttp: Log shutdown errors, don't return (fix #4908) | Matthew Holt | |
2022-07-23 | reverseproxy: Implement read & write timeouts for HTTP transport (#4905) | Matt Holt | |
2022-07-20 | cmd: Fix reload with stdin (#4900) | Francis Lavoie | |
2022-07-16 | caddyhttp: Enhance comment | Matthew Holt | |
2022-07-13 | reverseproxy: Implement retry count, alternative to try_duration (#4756) | Francis Lavoie | |
* reverseproxy: Implement retry count, alternative to try_duration * Add Caddyfile support for `retry_match` * Refactor to deduplicate matcher parsing logic * Fix lint | |||
2022-07-13 | caddyhttp: Make query matcher more efficient | Matthew Holt | |
Only parse query string once | |||
2022-07-13 | reverseproxy: Export SetScheme() again | Matthew Holt | |
Turns out the NTLM transport uses it. Oops. | |||
2022-07-12 | headers: Only replace known placeholders (#4880) | Francis Lavoie | |
2022-07-08 | reverseproxy: Err 503 if all upstreams unavailable | Matthew Holt | |
2022-07-08 | reverseproxy: Adjust new TLS Caddyfile directive names (#4872) | Francis Lavoie | |
2022-07-07 | fileserver: Use safe redirects in file browser | Matthew Holt | |
2022-07-06 | go.mod: Bump up quic-go to v0.28.0, fixes for BC breaks (#4867) | Francis Lavoie | |
2022-07-05 | caddytls: Reuse issuer between PreCheck and Issue (#4866) | Matt Holt | |
This enables EAB reuse for ZeroSSLIssuer (which is now supported by ZeroSSL). | |||
2022-06-28 | forwardauth: Fix case when `copy_headers` is omitted (#4856) | Francis Lavoie | |
See https://caddy.community/t/using-forward-auth-and-writing-my-own-authenticator-in-php/16410, apparently it didn't work when `copy_headers` wasn't used. This is because we were skipping adding a handler to the routes in the "good response handler", but this causes the logic in `reverseproxy.go` to ignore the response handler since it's empty. Instead, we can just always put in the `header` handler, even with an empty `Set` operation, it's just a no-op, but it fixes that condition in the proxy code. | |||
2022-06-22 | Expose several Caddy HTTP Matchers to the CEL Matcher (#4715) | Tristan Swadell | |
Co-authored-by: Francis Lavoie <lavofr@gmail.com> | |||
2022-06-22 | reverseproxy: Fix double headers in response handlers (#4847) | Francis Lavoie | |
2022-06-22 | reverseproxy: Fix panic when TLS is not configured (#4848) | Francis Lavoie | |
* reverseproxy: Fix panic when TLS is not configured * Refactor and simplify setScheme Co-authored-by: Matthew Holt <mholt@users.noreply.github.com> | |||
2022-06-20 | reverseproxy: Skip TLS for certain configured ports (#4843) | Kiss Károly Pál | |
* Make reverse proxy TLS server name replaceable for SNI upstreams. * Reverted previous TLS server name replacement, and implemented thread safe version. * Move TLS servername replacement into it's own function * Moved SNI servername replacement into httptransport. * Solve issue when dynamic upstreams use wrong protocol upstream. * Revert previous commit. Old commit was: Solve issue when dynamic upstreams use wrong protocol upstream. Id: 3c9806ccb63e66bdcac8e1ed4520c9d135cb011d * Added SkipTLSPorts option to http transport. * Fix typo in test config file. * Rename config option as suggested by Matt Co-authored-by: Matt Holt <mholt@users.noreply.github.com> * Update code to match renamed config option. * Fix typo in config option name. * Fix another typo that I missed. * Tests not completing because of apparent wrong ordering of options. Co-authored-by: Matt Holt <mholt@users.noreply.github.com> | |||
2022-06-16 | forwardauth: Support renaming copied headers, block support (#4783) | Francis Lavoie | |
2022-06-15 | headers: Support wildcards for delete ops (close #4830) (#4831) | Matt Holt | |