summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-06-29Fix encoder name bug; remove unused field in encode middleware structMatthew Holt
2019-06-28httpserver: Set default Server headerMatthew Holt
2019-06-28Refactor code related to getting current versionMatthew Holt
And set version in CertMagic for User-Agent purposes
2019-06-28Caddy 2 gets a CLI! And admin endpoint is now configurable via JSONMatthew Holt
2019-06-27Use html/template for escaping by defaultMatthew Holt
Allow HTML only with a few specific functions
2019-06-27Implement etag; fix related bugs in encode and templates middlewaresMatthew Holt
2019-06-26Optionally enforce strict TLS SNI + HTTP Host matching, & misc. cleanupMatthew Holt
We should look into a way to enable this by default when TLS client auth is configured for a server
2019-06-26Enable skipping just certificate management for some auto HTTPS namesMatthew Holt
2019-06-26Refactor automatic HTTPS configuration; ability to skip certain namesMatthew Holt
2019-06-26Fix panics by disallowing explicitly-defined null modules in configMatthew Holt
2019-06-24caddytls: Support tags for manually-loaded certificatesMatthew Holt
2019-06-21Various bug fixes and minor improvementsMatthew 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-21OopsMatthew Holt
2019-06-21Minor cleanups/improvementsMatthew Holt
2019-06-20caddyhttp: ResponseRecorder type for middlewares to buffer responsesMatthew Holt
Unfortunately, templates and markdown require buffering the full response before it can be processed and written to the client
2019-06-20tls: Improve (and fix) on-demand configurationMatthew Holt
2019-06-20caddyhttp: Fix host matching when host has a portMatthew Holt
2019-06-18templates: Remove context functions implemented by sprigMatthew Holt
2019-06-18Refactor templates execution; add sprig functionsMatthew Holt
2019-06-18Implement templates handler; various minor cleanups and bug fixesMatthew Holt
2019-06-14Rename caddy2 -> caddyMatthew Holt
Removes the version from the package name
2019-06-13Implement brotli encoder; improve validation of other encodersMatthew Holt
2019-06-13Update go modulesMatthew Holt
2019-06-11Add simple tests for static responderMatthew Holt
2019-06-10Implement encode middleware (#2)Matt Holt
* Implement encode middleware * Add missing break; and add missing JSON struct field tag
2019-06-07Do not allow Go standard lib to sniff Content-Type headerMatthew Holt
2019-06-07Merge pull request #1 from caddyserver/fix/goroutine-leak-healthcheckerMatt Holt
fix goroutine leak in healthcheckers
2019-06-07fix goroutine leak in healthcheckersdev
2019-06-07fix module import paths and add cors to admin endpointsdev
fix go module refs and add cors to admin endpoints
2019-06-04Fix bugs related to auto HTTPS and alternate port configurationsMatthew Holt
2019-06-04Change import paths to GitHub package namesMatthew Holt
2019-06-04Implement IP/CIDR matcher and Not (negated) matcherMatthew Holt
2019-06-03Customize admin endpoint address with -listen flagMatthew Holt
This is a temporary holdover for development purposes
2019-05-29Implement session ticket keys; default STEK module with rotationMatthew Holt
2019-05-29Add cleanup callbacks to contextMatthew Holt
2019-05-29Fix bug unmarshaling custom duration valuesMatthew Holt
2019-05-28ResponseMatcher for conditional logic of response headersMatthew Holt
2019-05-28Minor cleanupsMatthew Holt
2019-05-27Separate out certificate selectionMatthew Holt
2019-05-24Implement custom cert selection policies; optimize matching for SNIMatthew Holt
2019-05-23Fix error handling and matching catch-all routesMatthew Holt
2019-05-23Add very simple markdown middleware for nowMatthew Holt
2019-05-23Add request_body middleware and some limits to HTTP serversMatthew Holt
2019-05-22Change admin listener to :1234 for now; output message when listeningMatthew Holt
2019-05-22Disallow unknown fields (strict unmarshal) when loading modulesMatthew Holt
This makes it faster and easier to detect broken configurations, but is a slight performance hit on config loads since we have to re-encode the decoded struct back into JSON without the module name's key
2019-05-22Don't use auto HTTPS for servers with only HTTP port listenersMatthew Holt
2019-05-22Allow 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-22Export types and fields necessary to build configs (for config adapters)Matthew Holt
Also flag most fields with 'omitempty' for JSON marshaling
2019-05-21Honor the configured CA valueMatthew Holt
2019-05-21Module.New() does not need to return an errorMatthew Holt