DNSserver/configuration/reverseproxy/nginx/dot-stream

19 lines
613 B
Plaintext
Raw Normal View History

2021-08-28 06:31:03 +00:00
# DNS upstream pool
upstream dns {
zone dns 64k;
server 127.0.0.1:5353;
}
# DoT server for decryption
server {
listen 853 ssl;
2021-10-01 02:34:40 +00:00
listen [::]:853 ssl;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384;
ssl_prefer_server_ciphers off;
2021-08-28 06:31:03 +00:00
ssl_certificate /go/to/ket/;
ssl_certificate_key /go/to/ket/;
proxy_pass dns;
}