Bonjour a Tous
je possède actuellement un kimsufi KS-2 sous debian wheezy 64bits , tournant pendant plus d'un ans sous apache j'ai donc décider de le supprimer et d'installer nginx
chose qui c'est parfaitement déroulé.
En suivant le tutoriel de Magicalex
j'ai mis les mains dans le cambuis.. pour installer de nouveau rtorrent
problème :
service bouba89-rtorrent start
Starting rtorrent...
et page vide..
Débutant sous nginx auriez t'il une âme charitable pouvant m'aidez
merci d'avance.
voila mes configuration
/etc/nginx/sites-enabled/rutorrent.conf
server {
listen 80;
listen 443;
server_name sb.domaine.tld;
charset utf-8;
index index.html index.php;
client_max_body_size 10M;
ssl_certificate /etc/nginx/ssl/server.crt;
ssl_certificate_key /etc/nginx/ssl/server.key;
access_log /var/log/nginx/rutorrent-access.log combined;
error_log /var/log/nginx/rutorrent-error.log error;
error_page 500 502 503 504 /50x.html;
location = /50x.html { root /usr/share/nginx/html; }
auth_basic "seedbox";
auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd";
location = /favicon.ico {
access_log off;
log_not_found off;
}
## début config rutorrent ##
location ^~ /rutorrent {
root /var/www;
include /etc/nginx/conf.d/php;
include /etc/nginx/conf.d/cache;
location ~ /\.svn {
deny all;
}
location ~ /\.ht {
deny all;
}
}
location /BOUBA89 {
include scgi_params;
scgi_pass 127.0.0.1:5000;
auth_basic "seedbox";
auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_bouba89";
}
}
/etc/nginx/conf.d/php
location ~ \.php$ {
fastcgi_index index.php;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include /etc/nginx/fastcgi_params;
}
.rtorrent.rc
scgi_port = 127.0.0.1:5000
encoding_list = UTF-8
port_range = 45000-65000
port_random = no
check_hash = no
directory = /home/bouba89/torrents
session = /home/bouba89/.session
encryption = allow_incoming, try_outgoing, enable_retry
schedule = watch_directory,1,1,"load_start=/home/bouba89/watch/*.torrent"
schedule = untied_directory,5,5,"stop_untied=/home/bouba89/watch/*.torrent"
use_udp_trackers = yes
dht = off
peer_exchange = no
min_peers = 40
max_peers = 100
min_peers_seed = 10
max_peers_seed = 50
max_uploads = 15
execute = {sh,-c,/usr/bin/php /var/www/rutorrent/php/initplugins.php bouba89 &}
schedule = espace_disque_insuffisant,1,30,close_low_diskspace=500M