From 07143d5890a8340d63ca9fc629805011e1c5fd3a Mon Sep 17 00:00:00 2001 From: Star Brilliant Date: Tue, 26 Jun 2018 13:22:24 +0800 Subject: [PATCH] Update documentation about TLS This is to avoid confusions like issue #12 --- doh-server/doh-server.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doh-server/doh-server.conf b/doh-server/doh-server.conf index e6c88c0..8d91195 100644 --- a/doh-server/doh-server.conf +++ b/doh-server/doh-server.conf @@ -5,9 +5,14 @@ listen = [ ] # TLS certification file +# If left empty, plain-text HTTP will be used. +# Please be informed that this program does not do OCSP Stapling, which is +# necessary for some clients to bootstrap itself. +# You are recommended to use a server load balancer (Caddy, Nginx) and set up +# TLS there. cert = "" -# TLS key file +# TLS private key file key = "" # HTTP path for resolve application