mirror of
https://github.com/DNSCrypt/doh-server.git
synced 2025-04-04 13:37:39 +03:00
Update the documentation
This commit is contained in:
parent
58a0ef3347
commit
badcb6104d
1 changed files with 8 additions and 6 deletions
14
README.md
14
README.md
|
@ -11,15 +11,15 @@ cargo install doh-proxy
|
|||
## Usage
|
||||
|
||||
```text
|
||||
doh-proxy
|
||||
A DNS-over-HTTP server proxy
|
||||
|
||||
USAGE:
|
||||
doh-proxy [OPTIONS]
|
||||
doh-proxy [FLAGS] [OPTIONS]
|
||||
|
||||
FLAGS:
|
||||
-h, --help Prints help information
|
||||
-V, --version Prints version information
|
||||
-K, --disable-keepalive Disable keepalive
|
||||
-h, --help Prints help information
|
||||
-V, --version Prints version information
|
||||
|
||||
OPTIONS:
|
||||
-E, --err-ttl <err_ttl> TTL for errors, in seconds [default: 2]
|
||||
|
@ -31,9 +31,11 @@ OPTIONS:
|
|||
-p, --path <path> URI path [default: /dns-query]
|
||||
-u, --server-address <server_address> Address to connect to [default: 9.9.9.9:53]
|
||||
-t, --timeout <timeout> Timeout, in seconds [default: 10]
|
||||
```
|
||||
-I, --tls-cert-password <tls_cert_password>
|
||||
Password for the PKCS12-encoded identity (only required for built-in TLS)
|
||||
|
||||
Serves HTTP requests only. DoH is mostly useful to leverage an existing webserver, so just configure your webserver or CDN to proxy connections to this.
|
||||
-i, --tls-cert-path <tls_cert_path> Path to a PKCS12-encoded identity (only required for built-in TLS)
|
||||
```
|
||||
|
||||
## Clients
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue