- 05 Nov, 2015 6 commits
-
-
Matt Holt authored
add helpful suggestion to identify problem
-
AJ ONeal authored
-
Matthew Holt authored
This is known to happen if another program spawns Caddy with a stdin pipe but does not close its write end of Caddy's stdin.
-
Matt Holt authored
Lint pacification
-
buddhamagnet authored
-
buddhamagnet authored
pass all tests respond to maintainer comments reinstate assignment of t correct typo correct typo pass linter some more
-
- 04 Nov, 2015 4 commits
-
-
Matt Holt authored
Fix regression: Ensure TLS defaults are added by LE handlers.
-
xenolf authored
-
Matthew Holt authored
-
Matthew Holt authored
If the -host flag is used, we might still have to set up Let's Encrypt, so this change is necessary.
-
- 03 Nov, 2015 11 commits
-
-
Matthew Holt authored
-
Matthew Holt authored
Fixed bug where manually specifying port 443 disabled TLS (whoops); otherHostHasScheme was the culprit, since it would return true even if it was the same config that had that scheme. Also, an error at startup (if not a restart) is now fatal, rather than keeping a half-alive zombie server.
-
Matthew Holt authored
-
Matt Holt authored
Let's Encrypt
-
Matthew Holt authored
-
Matthew Holt authored
-
Matthew Holt authored
-
Matthew Holt authored
Conflicts: caddy/parse/parse.go caddy/parse/parsing.go config/config.go config/setup/controller.go main.go server/server.go
-
Matthew Holt authored
-
Matthew Holt authored
-
Matthew Holt authored
By chaining in a middleware handler and using newly exposed hooks from the acme package, we're able to proxy ACME requests on port 443 to the ACME client listening on a different port.
-
- 02 Nov, 2015 4 commits
-
-
Matthew Holt authored
This fixes a bug with the -agree flag
-
Matthew Holt authored
-
Matthew Holt authored
-
xenolf authored
-
- 01 Nov, 2015 2 commits
-
-
Matthew Holt authored
-
Matthew Holt authored
Before, we were activating Let's Encrypt after all the directives were executed. This means their setup functions had access to potentially erroneous information about the server's TLS setup, since the letsencrypt package makes changes to the port, etc. Now, we execute all directives up to and including tls, then activate letsencrypt, then finish with the rest of the directives. It's a bit ugly, but I do think it is more correct. It also fixes some bugs, for example: a host that only has a catch-all redirect.
-
- 31 Oct, 2015 11 commits
-
-
Matt Holt authored
Windows Build: Remove PATH from output.
-
Abiola Ibrahim authored
-
Matthew Holt authored
In testing, I've found that Windows doesn't release the socket right away even though the listener is closed, so calling caddy.Start() right after caddy.Stop() can fail. This change has server.ListenAndServe() try up to 20 times every 100ms to bind the listener, and only return an error if it doesn't succeed after 2 seconds. This might be kind of nifty for Unix, too, but there hasn't been a need for it yet.
-
Matthew Holt authored
-
Matt Holt authored
startup/shutdown: test file Also modified NewTestController to include a value for OncePerServerBlock
-
Dipen Patel authored
-
Dipen Patel authored
wrote startupshutdown tests and added OncePerServerBlock value in the NewTestController function of the controller.go file
-
Abiola Ibrahim authored
Fix for issues #297 and #298
-
Abiola Ibrahim authored
Add option to change delims in templates
-
Matthew Holt authored
-
Abiola Ibrahim authored
-
- 30 Oct, 2015 2 commits
-
-
Matthew Holt authored
-
Matthew Holt authored
Also improved/clarified some docs
-