Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-10-01 | Update CLI docs in README | Matthew Holt | |
2019-10-01 | v2: introduce CI (#2768) | Mohammed Al Sahaf | |
* v2: introduce CI for v2 branch * v2-ci: split test report generation from test pass to preserve exit code * v2-ci: spilt lint results from unit test results * v2-ci: fix testRunTitle name * v2-ci: break up the steps for more accurate status indicators * v2-ci: break steps into different jobs * v2-ci: revert back to single-job pattern * v2-ci: reflect the true result by coercing SucceededWithIssues into Failed in the last step * v2-ci: don't fail the build on lint errors | |||
2019-10-01 | go.mod: Use latest certmagic | Matthew Holt | |
2019-10-01 | cmd: CLI improvements; add --validate to adapt command | Matthew Holt | |
2019-09-30 | cmd: Add validate subcommand; list-modules --versions; some renaming | Matthew Holt | |
Renames --config-adapter flag to --adapter, adapt-config command to adapt, --print-env flag to --environ, and --input flag to --config. | |||
2019-09-30 | cmd: Refactor subcommands, add help, make them pluggable | aca | |
* cli: Change command structure, add help subcommand (#328) * cli: improve subcommand structure - make help command as normal subcommand - add flag usage message for each command * cmd: Refactor subcommands and command line help; make commands pluggable | |||
2019-09-30 | caddytls: Ensure automation field is not nil when appending (fix #2779) | Matthew Holt | |
2019-09-30 | Clean up provisioned modules on error; refactor Run(); add Validate() | Matthew Holt | |
Modules that return an error during provisioning should still be cleaned up so that they don't leak any resources they may have allocated before the error occurred. Cleanup should be able to run even if Provision does not complete fully. | |||
2019-09-30 | httpcaddyfile: Add acme_ca and email global options | Matthew Holt | |
Also add ability to access options from individual unmarshalers through the Helper values | |||
2019-09-30 | caddyhttp: 'not' matcher: Support Caddyfile unmarshaling | Matthew Holt | |
2019-09-30 | Add license header to filestorage.go | Matthew Holt | |
2019-09-30 | tls: Change struct fields to pointers, add nil checks; rate.Burst update | Matthew Holt | |
Making them pointers makes for cleaner JSON when adapting configs, if the struct is empty now it will be omitted entirely. The x/time/rate package was updated to support changing the burst, so we've incorporated that here and removed a TODO. | |||
2019-09-28 | caddyfile: Fix lexer behavior with regards to escaped newlines | Matthew Holt | |
Newlines (\n) can be escaped outside of quoted areas and the newline will be treated as whitespace but not as an actual line break. Escaping newlines inside a quoted area is not necessary, and because quotes trigger literal interpretation of the contents, the escaping backslash will be parsed as a literal backslash, and the newline will not be escaped. Caveat: When a newline is escaped, tokens after it until an unescaped newline will appear to the parser be on the same line as the initial token after the last unescaped newline. This may technically lead to some false line numbers if errors are given, but escaped newlines are counted so that the next token after an unescaped newline is correct. See #2766 | |||
2019-09-26 | httpcaddyfile: Fix missing module name of storage adapter | Matthew Holt | |
2019-09-24 | tls: Make cert and OCSP check intervals configurable | Matthew Holt | |
This enables use of ACME CAs that issue shorter-lived certs | |||
2019-09-24 | tls/acme: Ability to customize trusted roots for ACME servers (#2756) | Matt Holt | |
Closes #2702 | |||
2019-09-20 | go.mod: Update certmagic to v0.7.3 | Matthew Holt | |
2019-09-20 | reverse_proxy/headers: Expose header replacement ability in Caddyfile | Matthew Holt | |
Adds header_up and header_down subdirectives to reverse_proxy | |||
2019-09-19 | httpcaddyfile: Global storage configuration (closes #2758) | Matthew Holt | |
2019-09-18 | http: Improve auto HTTP->HTTPS redirects, fix edge cases | Matthew Holt | |
See https://caddy.community/t/v2-issues-with-multiple-server-blocks-in-caddyfile-style-config/6206/13?u=matt Also print pid when using `caddy start` | |||
2019-09-18 | httpcaddyfile: Fix nil pointer dereference | Matthew Holt | |
2019-09-18 | host matcher: Strip [ ] from IPv6 addresses | Matthew Holt | |
2019-09-17 | Allow domain fronting with TLS client auth if explicitly configured | Matthew Holt | |
2019-09-17 | tls: Clean up expired OCSP staples and certificates | Matthew Holt | |
2019-09-17 | fastcgi: Implement / redirect for index.php with php_fastcgi directive (#2754) | Matt Holt | |
* fastcgi: Implement / redirect for index.php with php_fastcgi directive See #2752 and https://caddy.community/t/v2-redirect-path-to-path-index-php-with-assets/6196?u=matt * caddyhttp: MatchNegate implements json.Marshaler * fastcgi: Add /index.php element to try_files matcher * fastcgi: Make /index.php redirect permanent | |||
2019-09-16 | httpcaddyfile: static_response -> respond; minor cleanups | Matthew Holt | |
2019-09-14 | reverse_proxy: Close idle connections on module unload | Matthew Holt | |
2019-09-14 | Eliminate some TODOs | Matthew Holt | |
2019-09-14 | reverse_proxy: Ability to mutate headers; set upstream placeholders | Matthew Holt | |
2019-09-14 | headers: Ability to mutate request headers including http.Request.Host | Matthew Holt | |
Also a few bug fixes | |||
2019-09-13 | Use keybase fork of mitchellh/go-ps for bug fixes (#2750) | Mohammed Al Sahaf | |
2019-09-13 | Forgot to commit caddyfile.go changes in last commit | Matthew Holt | |
2019-09-13 | headers: Add ability to replace substrings in header fields | Matthew Holt | |
This will probably be useful so the proxy can rewrite header values. | |||
2019-09-13 | encode: Fix bug where default status code was being written | Matthew Holt | |
for small responses. See https://caddy.community/t/v2-permanent-redirect-prompt/6190?u=matt | |||
2019-09-13 | Update v2 readme in prep for beta1 | Matthew Holt | |
2019-09-13 | Hard-code 'main' module name until bug upstream in Go modules is fixed | Matthew Holt | |
See https://github.com/golang/go/issues/29228 | |||
2019-09-13 | http: Consider wildcards when evaluating automatic HTTPS | Matthew Holt | |
2019-09-13 | admin: Allow listening on unix socket (closes #2749) | Matthew Holt | |
2019-09-13 | httpcaddyfile: Fix tls certificate loader module names (#2748) | Matthew Holt | |
2019-09-12 | tls: Do away with SetDefaults which did nothing useful | Matthew Holt | |
CertMagic uses the same defaults for us | |||
2019-09-12 | go.mod: Use lego v3 and CertMagic 0.7.0 | Matthew Holt | |
2019-09-11 | tls: Remove support for TLS 1.0 and TLS 1.1 | Matthew Holt | |
2019-09-11 | reverseproxy: Fix host and port on requests; fix Caddyfile parser | Matthew Holt | |
2019-09-11 | tls: Use Let's Encrypt production endpoint | Matthew Holt | |
We're done testing this in staging | |||
2019-09-11 | http: Set Alt-Svc header if experimental HTTP3 server is enabled | Matthew Holt | |
2019-09-11 | headers: New 'request_header' directive; handle Host header specially | Matthew Holt | |
Before this change, only response headers could be manipulated with the Caddyfile's 'header' directive. Also handle the request Host header specially, since the Go standard library treats it separately from the other header fields... | |||
2019-09-11 | reverseproxy: Add 'tls' option to enable HTTPS with HTTP transport | Matthew Holt | |
2019-09-11 | httpcaddyfile: Add 'experimental_http3' option | Matthew Holt | |
2019-09-11 | httpcaddyfile: Switch order; reverse_proxy comes before php_fastcgi | Matthew Holt | |
2019-09-10 | caddyfile: Improve Dispenser.NextBlock() to support nesting | Matthew Holt | |