AriaNG https 访问
Cloudflare SSL
解析域名时设置,此处省略
添加反向代理
#添加反向代理
location ^~ /jsonrpc {
proxy_http_version 1.1; proxy_set_header Connection "";
proxy_set_header Host $http_host;
proxy_set_header X-NginX-Proxy true;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:6800/jsonrpc;
proxy_pass_header X-Transmission-Session-Id;
}
设置AriaNG
Aria2 RPC 地址 填写配置好反代的域名,后面的端口号修改为 443 。