summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2019-05-21Fix up matchers tests and take care of TODO in rewriteMatthew Holt
2019-05-21Take care of remaining TODOs in the browse responderMatthew Holt
2019-05-20Implement rewrite middleware; fix middleware stack bugsMatthew Holt
2019-05-20Fix deferred header opsMatthew Holt
2019-05-20Default error handler; rename StaticFiles -> FileServerMatthew Holt
2019-05-20Sanitize paths in static file server; some cleanupMatthew Holt
Also remove AutomaticHTTPSError for now
2019-05-20Implement headers middlewareMatthew Holt
2019-05-20Implement most of browse; fix a couple obvious bugs; some cleanupMatthew Holt
2019-05-20move internal packages to pkg folder and update reverse proxydev
* set automatic https error type for cert-magic failures * add state to onload and unload methods * update reverse proxy to use Provision() and Cleanup()
2019-05-20Implement most of static file server; refactor and improve ReplacerMatthew Holt
2019-05-17Improve godoc for contextsMatthew Holt
2019-05-16Architectural shift to using context for config and module stateMatthew Holt
2019-05-16Some minor updates, and get rid of OnLoad/OnUnloadMatthew Holt
2019-05-14Rename and export some types, other minor changesMatthew Holt
2019-05-10caddyhttp: Implement better HTTP matchers including regexp; add testsMatthew Holt
2019-05-07Remove (unimplemented) enterprise TLS matchersMatthew Holt
2019-05-07Add some tests and fix vet warningMatthew Holt
2019-05-07Rough implementation of auto HTTP->HTTPS redirectsMatthew Holt
Also added GracePeriod for server shutdowns
2019-05-06Add go module filesdev
2019-05-06Add missing run.go (oops)Matthew Holt
2019-05-04Begin implementing HTTP replacer and static responderMatthew Holt
2019-05-04Add reverse proxyMatthew Holt
2019-04-29Instantiate apps that are needed but not explicitly configuredMatthew Holt
2019-04-26General cleanup and more godocsMatthew Holt