- 04 Nov, 2015 3 commits
-
-
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
-
- 29 Oct, 2015 7 commits
-
-
Matthew Holt authored
-
Matthew Holt authored
The file path of the originally-loaded Caddyfile must be piped to the forked process; previously it was using stdin after the first fork, which wouldn't load the newest Caddyfile from disk, which is the point of SIGUSR1.
-
Guilherme Rezende authored
-
Guilherme Rezende authored
-
Matthew Holt authored
-
Matthew Holt authored
-
Matt Holt authored
markdown, templates: Add Last-Modified header
-