mirror of
https://github.com/kou029w/fogtype.com
synced 2025-01-18 08:05:02 +00:00
do not use resolv.conf
This commit is contained in:
parent
cb5cb614c2
commit
59cfde2b8b
1 changed files with 6 additions and 9 deletions
|
@ -1,14 +1,11 @@
|
|||
https://dns.keiu.net tls://dns.keiu.net {
|
||||
https://. tls://. {
|
||||
tls /var/lib/caddy/data/caddy/certificates/acme.zerossl.com-v2-dv90/dns.keiu.net/dns.keiu.net.crt /var/lib/caddy/data/caddy/certificates/acme.zerossl.com-v2-dv90/dns.keiu.net/dns.keiu.net.key
|
||||
reload
|
||||
prometheus 0.0.0.0:9153
|
||||
hosts {
|
||||
fallthrough
|
||||
}
|
||||
forward . tls://1.1.1.1 tls://1.0.0.1 {
|
||||
tls_servername tls.cloudflare-dns.com
|
||||
}
|
||||
}
|
||||
https://. tls://. {
|
||||
tls /var/lib/caddy/data/caddy/certificates/acme.zerossl.com-v2-dv90/dns.keiu.net/dns.keiu.net.crt /var/lib/caddy/data/caddy/certificates/acme.zerossl.com-v2-dv90/dns.keiu.net/dns.keiu.net.key
|
||||
hosts {
|
||||
fallthrough
|
||||
}
|
||||
forward . /etc/resolv.conf
|
||||
reload
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue