- 25 Nov, 2015 1 commit
-
-
Tw authored
We can't use json meta parser's remaining buffered data as the markdown body because it may not contain the entire original content. Now we adopt the way like toml and yaml parser's way to extract the meta content at first. Also when spilting the meta data and content body, additional io.Copy is unnecessary. Fix issue #355 Signed-off-by: Tw <tw19881113@gmail.com>
-
- 21 Nov, 2015 2 commits
- 19 Nov, 2015 4 commits
-
-
Matt Holt authored
Add a few super minor lint fixes
-
Carlisia Campos authored
Other lint warnings left behind are ones due to external package and due to maintainer's preferences.
-
Matthew Holt authored
Made a faulty assumption that virualhosts could share acme proxy handlers; turns out they can't without fumbling up the middleware configuration (middleware chains overlap and cross over into other virtualhosts)!
-
Matthew Holt authored
-
- 18 Nov, 2015 2 commits
-
-
Matthew Holt authored
Hosts which are eligible for automatic HTTPS have default port "https" but other hosts (wildcards, loopback, etc.) have the default port 2015. The default host of empty string should be more IPv6-compatible.
-
Matthew Holt authored
-
- 17 Nov, 2015 9 commits
-
-
Matthew Holt authored
-
Matthew Holt authored
-
Matthew Holt authored
-
Matthew Holt authored
-
Matt Holt authored
proxy: make http header block scoped
-
Matt Holt authored
proxy: make tests workable when offline
-
Tw authored
Instead of accessing the google website, we setup a local server for test, then tests will work fine even we are offline. Fix issue #346 Signed-off-by: Tw <tw19881113@gmail.com>
-
Tw authored
Each proxy block should could specify its own http header instead of sharing a global one. Fix issue #341 Signed-off-by: Tw <tw19881113@gmail.com>
-
Matt Holt authored
proxy: 'except' property to ignore subpaths
-
- 16 Nov, 2015 1 commit
-
-
Abiola Ibrahim authored
-
- 15 Nov, 2015 12 commits
-
-
Matthew Holt authored
-
Matthew Holt authored
-
Matthew Holt authored
-
Matthew Holt authored
-
Matt Holt authored
parser: Allow use of environment variables in tokens
-
Michael Banzon authored
It no longer uses regular expressions. It supports both the Unix `{$ENV_VAR}` _and_ the Windows `{%ENV_VAR%}` syntax. Added test for both Unix and Windows env. syntax.
-
Matthew Holt authored
Go programs using the caddy package may not want the it to capture all the signals...
-
Matthew Holt authored
-
Matthew Holt authored
Added a -grace flag to customize graceful shutdown period, fixed bugs related to closing file descriptors (and dup'ed fds), improved healthcheck signaling to parent, fixed a race condition with the graceful listener, etc. These improvements mainly provide better support for frequent reloading or unusual use cases of Start and Stop after a Restart (POSIX systems). This forum thread was valuable help in debugging: https://forum.golangbridge.org/t/bind-address-already-in-use-even-after-listener-closed/1510?u=matt
-
Matthew Holt authored
-
Matthew Holt authored
Fixed pidfile writing problem where a pidfile would be written even if child failed, also cleaned up restarts a bit and fixed a few bugs, it's more robust now in case of failures and with logging.
-
Matthew Holt authored
Whether the original parent process or a child process as part of a restart, the pidfile will not be written/changed until that process has started successfully. It is written every time caddy.Start() succeeds (may be reundant, but that's probably okay).
-
- 14 Nov, 2015 4 commits
-
-
Michael Banzon authored
Added test for the fix of issue #304
-
Matt Holt authored
fixed test failure on CPU 1 core machine.
-
Matt Holt authored
gzip: added Vary: Accept-Encoding to response header.
-
Tatsuhiko Kubo authored
When CPU is 1 core, expected value (int(0.5 * float32(maxCPU))) is zero. But runtime.GOMAXPROCS(-1) returns always 1.
-
- 13 Nov, 2015 1 commit
-
-
Tatsuhiko Kubo authored
When the downstream is cache server or CDN, it is important.
-
- 11 Nov, 2015 4 commits
-
-
Matt Holt authored
startup: Only run commands at first startup
-
Matthew Holt authored
-
Matthew Holt authored
Actually, restart on posix systems failed entirely if caddy was executed without the path included; also fixed a related bug where a variable was declared but never assigned.
-
Matthew Holt authored
-