Skip to content

Commit

Permalink
Merge pull request #67 from monperrus/patch-1
Browse files Browse the repository at this point in the history
doc: document upstream_selector
  • Loading branch information
m13253 committed Feb 4, 2020
2 parents f151c90 + 502caab commit 59f79fb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,17 @@ you can host DNS-over-HTTPS along with other HTTPS services.
HTTP/2 with at least TLS v1.3 is recommended. OCSP stapling must be enabled,
otherwise DNS recursion may happen.

### Configuration file

The main configuration file is `doh-client.conf`.

**Server selectors.** If several upstream servers are set, one is selected according to `upstream_selector` for each request. With `upstream_selector = "random"`, a random upstream server will be chosen for each request.

```toml
# available selector: random (default) or weighted_round_robin or lvs_weighted_round_robin
upstream_selector = "random"
```

### Example configuration: Apache

SSLProtocol TLSv1.2
Expand Down

0 comments on commit 59f79fb

Please sign in to comment.