1
0
Fork 0
mirror of https://github.com/kou029w/fogtype.com synced 2025-01-18 08:05:02 +00:00

enable DoT

This commit is contained in:
Nebel 2021-08-18 21:08:20 +09:00
parent b35626469b
commit 1de6aefdf4
2 changed files with 2 additions and 1 deletions

View file

@ -39,6 +39,7 @@ services:
image: coredns/coredns:1.8.4@sha256:6e5a02c21641597998b4be7cb5eb1e7b02c0d8d23cce4dd09f4682d463798890
restart: unless-stopped
expose: ["443"]
ports: ["853:853"]
volumes:
- ./etc/coredns/Corefile:/Corefile
- caddy_data:/var/lib/caddy/data

View file

@ -1,4 +1,4 @@
https://. {
https://. tls://. {
tls /var/lib/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/dns.keiu.net/dns.keiu.net.crt /var/lib/caddy/data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/dns.keiu.net/dns.keiu.net.key
forward . /etc/resolv.conf
}