- 19 Jun, 2019 4 commits
-
-
Matthew Holt authored
-
Matthew Holt authored
Slightly inconvenient because it uses int type and we use string, but oh well. This fixes a bug related to setting -http-port and -https-port flags which weren't being used by CertMagic in some cases.
-
Matthew Holt authored
This should help prevent hanging in some cases when the process is restarted and tries to obtain or renew a certificate, for example, but the lock remains from the previous shutdown (which was during the same operation). Only works if the process is cleanly shut down with a signal it can capture.
-
shouya authored
* verify client certs * move client cert compatible checker to an independent function * unexport client cert compatible checker * rename functions and add comment * gofmt code * add test * add back the comment
-
- 12 Jun, 2019 1 commit
-
-
Daniel authored
-
- 11 Jun, 2019 1 commit
-
-
Jared Ririe authored
Each time the Caddyfile reloads and Caddy is restarted, caddytls.NewConfig starts a goroutine for cleaning the certificate storage. This goroutine ranges over a time.Ticker channel; although Stop is called on this ticker, Stop does not close the underlying channel so the goroutine never exits. This change adds an additional channel that is listened to in the certificate cleaning goroutine so it can exit on restarts.
-
- 27 May, 2019 2 commits
-
-
Matthew Holt authored
-
- 24 May, 2019 2 commits
-
-
AndreKR authored
* More informative rewrite test output When running rewrite tests, the output in case of a test failure now includes not only the rewritten URLs but also the from URL. * Move re-escaping to regexpMatches This commit moves the code to post-process the match replacements from ComplexRule to regexpMatches, so it can later be re-used for SimpleRule. Also changes the comment in an attempt to better explain the reasoning behind that code. The required strings.Replacer is now built only once. * Support regex captures in simple rewrite rules Closes #2586
-
Łukasz Nowak authored
-
- 14 May, 2019 1 commit
-
-
Anthony Plunkett authored
-
- 26 Apr, 2019 1 commit
-
-
Kurt Jung authored
-
- 24 Apr, 2019 1 commit
-
-
Matthew Holt authored
-
- 22 Apr, 2019 1 commit
-
-
Taufiq Rahman authored
* Lint: fix some errcheck #2541 * Lint: fix passing structcheck #2541 * Lint: update fix structcheck #2541 * Lint: fix errcheck for basicauth, browse, fastcgi_test #2541 * Lint: fix errcheck for browse, fastcgi_test, fcgiclient, fcgiclient_test #2541 * Lint: fix errcheck for responsefilter_test, fcgilient_test #2541 * Lint: fix errcheck for header_test #2541 * Lint: update errcheck for fcgiclient_test #2541 * Lint: fix errcheck for server, header_test, fastcgi_test, https_test, recorder_test #2541 * Lint: fix errcheck for tplcontext, vhosttrie_test, internal_test, handler_test #2541 * Lint: fix errcheck for log_test, markdown mholt#2541 * Lint: fix errcheck for policy, body_test, proxy_test #2541 * Lint: fix errcheck for on multiple packages #2541 - reverseproxy - reverseproxy_test - upstream - upstream_test - body_test * Lint: fix errcheck in multiple packages mholt#2541 - handler_test - redirect_test - requestid_test - rewrite_test - fileserver_test * Lint: fix errcheck in multiple packages mholt#2541 - websocket - setup - collection - redirect_test - templates_test * Lint: fix errcheck in logger test #2541 run goimports against #2551 - lexer_test - log_test - markdown * Update caddyhttp/httpserver/logger_test.go Co-Authored-By: Inconnu08 <taufiqrx8@gmail.com> * Update log_test.go * Lint: fix scope in logger_test #2541 * remove redundant err check in logger_test #2541 * fix alias in logger_test #2541 * fix import for format #2541 * refactor variable names and error check #2541
-
- 20 Apr, 2019 9 commits
-
-
Matthew Holt authored
-
Matthew Holt authored
-
Matt Holt authored
* Update to match CertMagic's refactoring * mod: CertMagic v0.5.0
-
Matthew Holt authored
Caddy can be built, even with plugins, without modifying the source code and without special build scripts, thanks to Go modules. See the README or wiki.
-
Abiola Ibrahim authored
Fix instructions for building Caddy from source
-
Aaron authored
-
Matthew Holt authored
-
Matthew Holt authored
-
Matthew Holt authored
-
- 17 Apr, 2019 1 commit
-
-
Marten Seemann authored
* run go mod tidy * import the right version of quic-go
-
- 12 Apr, 2019 1 commit
-
-
elcore authored
Fix #2560
-
- 09 Apr, 2019 2 commits
-
-
Matthew Holt authored
-
Toby Allen authored
* Add link to Good First Issue in Contributing Section * Fix heading
-
- 07 Apr, 2019 1 commit
-
-
johncming authored
-
- 06 Apr, 2019 1 commit
-
-
Matthew Holt authored
Temporary until Go 1.13
-
- 30 Mar, 2019 5 commits
-
-
johncming authored
-
Michael Grosser authored
* Migrate to gomods * Fix conflict * gomod: Switch xenolf/lego to go-acme/lego
-
Matt Holt authored
-
Matthew Holt authored
-
Matt Holt authored
* Set up CI with Azure Pipelines [skip ci] * Add other platforms [skip ci] * Oops, add vmImage back in [skip ci] * Fix goVersion [skip ci] * Use sudo to install Go [skip ci] * Attempt platform-specific Go isntalls [skip ci] * Try sharing the variable a different way [skip ci] * Trying this again... [skip ci] * Fix the PATH [skip ci] * Fix GOROOT, hopefully [skip ci] * More fixing [skip ci] * Still fixing [skip ci] * Add golang-ci [skip ci] * asdfasdfasf [skip ci] * Sigh, work around broken golangci-lint installer [skip ci] * Try again [skip ci] * ahhhhhh [skip ci] * sooooo close! cleanup [skip ci] * oh c'mon [skip ci] * thought I had it for a sec [skip ci] * yaaaayyyy [skip ci] ship it
-
- 17 Mar, 2019 1 commit
-
-
johncming authored
-
- 16 Mar, 2019 1 commit
-
-
johncming authored
-
- 15 Mar, 2019 1 commit
-
-
Linkonoid authored
-
- 11 Mar, 2019 2 commits
-
-
M. Ángel Jimeno authored
* caddy: Rename env flag to envfile * caddy: Add env flag to print environment variables
-
Aka.Why authored
-
- 06 Mar, 2019 1 commit
-
-
comp500 authored
* Add upstream header replacements (TODO: tests, docs) * Add tests, fix a few bugs * Add more tests and comments * Refactor header_upstream to use a fallthrough; return regex errors
-