- 26 Oct, 2015 6 commits
-
-
Matthew Holt authored
-
Matthew Holt authored
-
Matthew Holt authored
-
Matthew Holt authored
Merged config and app packages into one called caddy. Abstracted away caddy startup functionality making it easier to embed Caddy in any Go application and use it as a library. Graceful restart (should) now ensure child starts properly. Now piping a gob bundle to child process so that the child can match up inherited listeners to server address. Much cleanup still to do.
-
Matthew Holt authored
-
Matthew Holt authored
Lots of refinement still needed and runs only on POSIX systems. Windows will not get true graceful restarts (for now), but we will opt for very, very quick forceful restarts. Also, server configs are no longer put into a map; it is critical that they stay ordered so that they can be matched with their sockets in the child process after forking. This implementation of graceful restarts is probably not perfect, but it is a good start. Lots of details to attend to now.
-
- 22 Oct, 2015 1 commit
-
-
Matthew Holt authored
-
- 21 Oct, 2015 4 commits
-
-
Matt Holt authored
letsencrypt: Simplify timing mechanism for checking renewals
-
Matthew Holt authored
Conflicts: config/letsencrypt/letsencrypt.go
-
Matthew Holt authored
-
Matthew Holt authored
-
- 20 Oct, 2015 1 commit
-
-
xenolf authored
-
- 19 Oct, 2015 3 commits
-
-
Matthew Holt authored
User can specify 'tls off" in Caddyfile to force-disable automatic HTTPS configuration
-
Matthew Holt authored
-
Matthew Holt authored
-
- 18 Oct, 2015 10 commits
-
-
Matthew Holt authored
-
Matthew Holt authored
-
Matthew Holt authored
-
Matthew Holt authored
-
Matthew Holt authored
-
Matthew Holt authored
-
Matthew Holt authored
-
Matthew Holt authored
-
Matthew Holt authored
-
Matthew Holt authored
-
- 17 Oct, 2015 7 commits
-
-
Matthew Holt authored
Also added ServerBlockHostIndex
-
Matthew Holt authored
-
Matthew Holt authored
-
Matthew Holt authored
-
Matthew Holt authored
-
Matthew Holt authored
Also more comments and starting to clean up code
-
Matthew Holt authored
Code is a huge mess; much cleanup to follow.
-
- 16 Oct, 2015 5 commits
-
-
Matthew Holt authored
-
Matthew Holt authored
-
Matthew Holt authored
Conflicts: config/config.go
-
Matthew Holt authored
-
Matthew Holt authored
This way, Setup functions have access to the list of hosts that share the server block, and also, if needed for some reason, the index of the server block in the input
-
- 15 Oct, 2015 3 commits
-
-
Matthew Holt authored
-
Matthew Holt authored
-
Matthew Holt authored
startup and shutdown commands should only be executed once per appearance in the Caddyfile (naturally meaning once per server block). Notice that we support multiple occurrences of startup and shutdown in the same server block by building the callback array incrementally as we parse the Caddyfile, then we append all the callbacks all at once. Quite literally, the OncePerServerBlock function executes only once per server block!
-