- 25 Apr, 2017 1 commit
-
-
Matthew Holt authored
-
- 23 Apr, 2017 1 commit
-
-
Matthew Holt authored
-
- 22 Apr, 2017 3 commits
-
-
Matthew Holt authored
-
Matthew Holt authored
-
Matthew Holt authored
Also disable some tests on context.Hostname because they're not portable
-
- 21 Apr, 2017 3 commits
-
-
Matthew Holt authored
-
Matt Holt authored
proxy: take original URL path into account when remove prefix ("without")
-
Tw authored
fix issue #1604 Signed-off-by: Tw <tw19881113@gmail.com>
-
- 20 Apr, 2017 3 commits
-
-
Matthew Holt authored
-
Matt Holt authored
httpserver: Don't close stdout or stderr when closing logs (fix #1471)
-
Jonas Östanbäck authored
* Disable warning for insecure CA if located on private network. * Add IsPrivateNetwork function * Add tests Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com> * Add more testcases Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com> * Rename IsPrivateNetwork -> IsInternal Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com>
-
- 19 Apr, 2017 2 commits
-
-
Matt Holt authored
templates: Add Hostname template action
-
Jannick Fahlbusch authored
This adds the ability to display the remote hostname of the visitors IP with template actions.
-
- 18 Apr, 2017 10 commits
-
-
Matthew Holt authored
-
Matt Holt authored
template: add test for custom function
-
Tw authored
Signed-off-by: Tw <tw19881113@gmail.com>
-
Matt Holt authored
template: support custom functions
-
Tw authored
Signed-off-by: Tw <tw19881113@gmail.com>
-
Matt Holt authored
proxy: use untouched URL for concatenating
-
Matthew Holt authored
Maps are NOT ordered at runtime but I still want the cipher suites listed in order of preference in the source file for convenience.
-
Matthew Holt authored
-
Matthew Holt authored
Original feature request in forum: https://forum.caddyserver.com/t/caddy-with-specific-hosts-but-on-demand-tls/1704?u=matt Before, Caddy obtained certificates for every name it could at startup. And it would only obtain certificates during the handshake for sites defined with a hostname that didn't qualify at startup (like "*.example.com" or ":443"). This made sense for most situations, and helped ensure that certificates were obtained as early and reliably as possible. With this change, Caddy will NOT obtain certificates for hostnames it knows at startup (even if they qualify) if OnDemand is enabled. But I think this change generalizes well, because a user who specifies max_certs is deliberately turning on On-Demand TLS, fully aware of the consequences. It seems dubious to ignore that config when the user deliberately put it there. We'll see how this goes.
-
Tw authored
Signed-off-by: Tw <tw19881113@gmail.com>
-
- 17 Apr, 2017 4 commits
-
-
elcore authored
* caddyhttp: Allow to alternate Index * Move Index directive * Fix misspelling outside this PR
-
Matt Holt authored
log: only allow new roller related options in a block
-
Francis Lavoie authored
proxy: Fix #1574; health check now respects hostname when upstream Host header is configured (#1577) * Implement adding Host header to health check * Fix type problems * Fix duplicate function, Replace args * Add debugging * Add debugging * Add debugging * Add debugging * Attempt to set req.Host instead of the header * Clean up debugging * Fix missing newline * Fix spelling * Add test, refactoring * Fix with gofmt * Add error check on NewRequest
-
Tw authored
fix issue #1529 Signed-off-by: Tw <tw19881113@gmail.com>
-
- 16 Apr, 2017 2 commits
-
-
Matthew Holt authored
-
Matthew Holt authored
-
- 15 Apr, 2017 2 commits
-
-
Matthew Holt authored
-
Matthew Holt authored
-
- 14 Apr, 2017 2 commits
-
-
Matthew Holt authored
-
Matthew Holt authored
-
- 08 Apr, 2017 2 commits
-
-
Toby Allen authored
* Create list of index files based on extensions and check on a per config basis * remove log lines * fixed tests * made gofmt suggested change * Changes made to simplify
-
Matt Holt authored
browse: fix arbitrary ordering of directories with sort=size
-
- 03 Apr, 2017 1 commit
-
-
Peer Beckmann authored
* Respect the 'insecure_skip_verify' for the health check. * WIP: Trying to add a test. Non functional. * Fixing tests. * Creating better error messages. * Optimize two more error messages. * Move the tests into an extra function.
-
- 02 Apr, 2017 2 commits
-
-
Angel Santiago authored
* Add a shutdown function and context to staticUpstream so that running goroutines can be cancelled. Add a GetShutdownFunc to Upstream interface to expose the shutdown function to the caddy Controller for performing it on restarts. * Make fakeUpstream implement new Upstream methods. Implement new Upstream method for fakeWSUpstream as well. * Rename GetShutdownFunc to Stop(). Add a waitgroup to the staticUpstream for controlling individual object's goroutines. Add the Stop function to OnRestart and OnShutdown. Add tests for checking to see if healthchecks continue hitting a backend server after stop has been called. * Go back to using a stop channel since the context adds no additional benefit. Only register stop function for onShutdown since it's called as part of restart. * Remove assignment to atomic value * Incrementing WaitGroup outside of goroutine to avoid race condition. Loading atomic values in test. * Linting: change counter to just use the default zero value instead of setting it * Clarify Stop method comments, add comments to stop channel and waitgroup and remove out of date comment about handling stopping the proxy. Stop the ticker when the stop signal is sent
-
Toby Allen authored
* Revert "browse: sort listing by dir first (#1527)" commit 4e1229e7. * Add new browse sort order namedirfirst. Make namedirfirst default sort
-
- 01 Apr, 2017 1 commit
-
-
Matthew Holt authored
-
- 31 Mar, 2017 1 commit
-
-
Matt Holt authored
init: Make CADDYPATH equal across init scripts
-