diff options
author | 2016-04-28 11:07:44 -0700 | |
---|---|---|
committer | 2016-04-28 19:07:44 +0100 | |
commit | e34280e7af517443a8f95e76247cf614c37fdbf6 (patch) | |
tree | f911eb03ff8e71d7f4c245e0694d3b47e2198734 /middleware | |
parent | bba63f776518347f53697160fce638419c3fe813 (diff) | |
download | coredns-e34280e7af517443a8f95e76247cf614c37fdbf6.tar.gz coredns-e34280e7af517443a8f95e76247cf614c37fdbf6.tar.zst coredns-e34280e7af517443a8f95e76247cf614c37fdbf6.zip |
Clean up remove caddy refs (#139)
* Changed reference to Caddy over to CoreDNS
* Removing references to caddy
* Fixed misleading error message to reference coredns
* Cleaning up references to caddy
* Adding clean and deps targets
Muscle memory is resulting in "make clean" commands.
* Adding test target to makefile
* More "Caddy" cleanup
Diffstat (limited to 'middleware')
-rw-r--r-- | middleware/file/file_test.go | 4 | ||||
-rw-r--r-- | middleware/proxy/README.md | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/middleware/file/file_test.go b/middleware/file/file_test.go index 87314db43..880dd841c 100644 --- a/middleware/file/file_test.go +++ b/middleware/file/file_test.go @@ -12,12 +12,12 @@ func BenchmarkParseInsert(b *testing.B) { } /* -var testDir = filepath.Join(os.TempDir(), "caddy_testdir") +var testDir = filepath.Join(os.TempDir(), "coredns_testdir") var ErrCustom = errors.New("Custom Error") // testFiles is a map with relative paths to test files as keys and file content as values. // The map represents the following structure: -// - $TEMP/caddy_testdir/ +// - $TEMP/coredns_testdir/ // '-- file1.html // '-- dirwithindex/ // '---- index.html diff --git a/middleware/proxy/README.md b/middleware/proxy/README.md index c6d45b51a..c259659b7 100644 --- a/middleware/proxy/README.md +++ b/middleware/proxy/README.md @@ -31,7 +31,7 @@ proxy from to... { * `from` is the base path to match for the request to be proxied. * `to` is the destination endpoint to proxy to. At least one is required, but multiple may be specified. * `policy` is the load balancing policy to use; applies only with multiple backends. May be one of random, least_conn, or round_robin. Default is random. -* `fail_timeout` specifies how long to consider a backend as down after it has failed. While it is down, requests will not be routed to that backend. A backend is "down" if Caddy fails to communicate with it. The default value is 10 seconds ("10s"). +* `fail_timeout` specifies how long to consider a backend as down after it has failed. While it is down, requests will not be routed to that backend. A backend is "down" if CoreDNS fails to communicate with it. The default value is 10 seconds ("10s"). * `max_fails` is the number of failures within fail_timeout that are needed before considering a backend to be down. If 0, the backend will never be marked as down. Default is 1. * `health_check` will check path (on port) on each backend. If a backend returns a status code of 200-399, then that backend is healthy. If it doesn't, the backend is marked as unhealthy for duration and no requests are routed to it. If this option is not provided then health checks are disabled. The default duration is 10 seconds ("10s"). * `ignored_names...` is a space-separated list of paths to exclude from proxying. Requests that match any of these paths will be passed thru. |