设置stream模块 安装stream模块 ./configure 现有参数 --with-stream 后续与升级更新步骤一致 设置stream模块stream{server { listen 465; proxy_pass smtp.exmail.qq.com:465;} } upstream dns { server 192.168.0.1:53535; server dns.example.com:53;}server { listen 3690; proxy_pass dns;}