Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-11-29 | v2: fixes query matcher parsing (#2901) | Mark Sargent | |
* fixes query matcher parsing * return correct argument error when parsing query matcher | |||
2019-11-29 | http: Shorten regexp matcher placeholders; allow "=/" for simple matcher | Matthew Holt | |
2019-11-28 | http: path matcher supports exact matching with = prefix | Matthew Holt | |
2019-11-15 | http: Make path matcher case-insensitive | Matthew Holt | |
Adds tests for both the path matcher and host matcher for case insensitivity. If case sensitivity is required for the path, a regexp matcher can be used instead. This is the v2 equivalent fix of PR #2882. | |||
2019-10-14 | caddyhttp: Support placeholders in MatchHost (#2810) | Pascal | |
* Replace global placeholders in host matcher * caddyhttp: Fix panic on MatchHost tests | |||
2019-07-02 | go.mod: Append /v2 to module name; update all import paths | Matthew Holt | |
See https://github.com/golang/go/wiki/Modules#semantic-import-versioning | |||
2019-06-30 | Add license | Matthew Holt | |
2019-06-21 | Various bug fixes and minor improvements | Matthew Holt | |
- Fix static responder so it doesn't replace its own headers config, and instead replaces the actual response header values - caddyhttp.ResponseRecorder type optionally buffers response - Add interface guards to ensure regexp matchers get provisioned - Use default HTTP port if one is not explicitly set - Encode middleware writes status code 200 if not written upstream - Templates and markdown only try to execute on text responses - Static file server sets Content-Type based on file extension only (this whole thing -- MIME sniffing, etc -- needs more configurability) | |||
2019-06-20 | caddyhttp: Fix host matching when host has a port | Matthew Holt | |
2019-06-14 | Rename caddy2 -> caddy | Matthew Holt | |
Removes the version from the package name | |||
2019-06-04 | Change import paths to GitHub package names | Matthew Holt | |
2019-05-28 | ResponseMatcher for conditional logic of response headers | Matthew Holt | |
2019-05-22 | Allow multiple matcher sets in routes (OR'ed together) | Matthew Holt | |
Also export MatchRegexp in case other matcher modules find it useful. Add comments to the exported matchers. | |||
2019-05-22 | Export types and fields necessary to build configs (for config adapters) | Matthew Holt | |
Also flag most fields with 'omitempty' for JSON marshaling | |||
2019-05-21 | Fix up matchers tests and take care of TODO in rewrite | Matthew Holt | |
2019-05-20 | Implement rewrite middleware; fix middleware stack bugs | Matthew Holt | |
2019-05-20 | Implement most of static file server; refactor and improve Replacer | Matthew Holt | |
2019-05-16 | Some minor updates, and get rid of OnLoad/OnUnload | Matthew Holt | |
2019-05-14 | Rename and export some types, other minor changes | Matthew Holt | |
2019-05-10 | caddyhttp: Implement better HTTP matchers including regexp; add tests | Matthew Holt | |