- Modifié
martinbouillaud Je ne sais pas, si tu veux tu peux comparer avec ma config nginx pour rutorrent :
###############
## rutorrent ##
location ^~ /rutorrent {
root /var/www;
auth_basic "seedbox";
auth_basic_user_file "/etc/nginx/passwd/antho";
access_log /var/log/nginx/NGINX_SITE_ACCESS--rutorrent.log;
error_log /var/log/nginx/NGINX_SITE_ERROR--rutorrent.log;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache_utilisateurs.conf;
location ~ /\.svn {
deny all;
}
location ~ /\.ht {
deny all;
}
}
location /rutorrent/RPC2 {
include scgi_params;
scgi_pass 127.0.0.1:5000;
auth_basic "seedbox";
auth_basic_user_file "/etc/nginx/passwd/antho";
}
location ^~ /rutorrent/conf/ {
deny all;
}
location ^~ /rutorrent/share/ {
deny all;
}