aMule+nginx反向代理
平台Debian 7.2+aMule 2.3.1+nginx 1.2.1
location ^~ /amuleweb {
proxy_set_header Host $http_host;
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:4711/;
proxy_redirect default;
}
实际上aMule的web server是一个不完整的http/1.0服务器(用curl获取http头的时候是空的)。
ps: aMule的内存泄漏极其严重,还是用mldonkey比较好