Debian 使用Nginx + SmartDNS 建DoH

删除默认源的Nginx(如果安装了Nginx)

1
sudo apt remove nginx-*

配置Nginx官方源

Nginx Debian Packages Install

安装Nginx的njs模块

1
sudo apt install nginx-module-njs

打开/etc/nginx/nginx.conf,在顶层添加以下配置加载模块

1
2
load_module modules/ngx_http_js_module.so;
load_module modules/ngx_stream_js_module.so;
阅读更多
Your browser is out-of-date!

Update your browser to view this website correctly.&npsb;Update my browser now

×