nginx实现的DoT例子

  sre
stream {
    upstream dot{
        zone dot 64k;
        server 1.1.1.1:853;
    }

    server{
            listen 853 ssl;
            ssl_certificate      /path/to/ssl_certificate.pem;
            ssl_certificate_key  /path/to/ssl_certificate.key;

            proxy_pass dot;
            proxy_ssl on;
    }
}

LEAVE A COMMENT

Captcha Code