Moi je dirais, repars sur une base propre :
Ex.
edit: j'avais loupé un truc, c'est dans ton rutorrent.conf qu'il faut mettre le machin. J'étais parti sur autre chose
rm /etc/nginx/nginx.conf
nano /etc/nginx/nginx.conf
et tu colles:
user www-data;
worker_processes auto;
pid /var/run/nginx.pid;
events { worker_connections 1024; }
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
access_log /var/log/nginx/access.log combined;
error_log /var/log/nginx/error.log error;
sendfile on;
keepalive_timeout 20;
keepalive_disable msie6;
keepalive_requests 100;
tcp_nopush on;
tcp_nodelay off;
server_tokens off;
gzip on;
gzip_buffers 16 8k;
gzip_comp_level 5;
gzip_disable "msie6";
gzip_min_length 20;
gzip_proxied any;
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
gzip_vary on;
include /etc/nginx/sites-enabled/*.conf;
}
et ensuite tu mets la conf pour owncloud dans ton rutorrent.conf:
nano /etc/nginx/sites-enabled/rutorrent.conf
en collant ça:
location ^~ /owncloud {
root /var/www;
include /etc/nginx/conf.d/php;
include /etc/nginx/conf.d/cache;
satisfy any;
allow all;
}
et tu relances:
service nginx restart
Voir ce que ça raconte après.Ex.
edit: j'avais loupé un truc, c'est dans ton rutorrent.conf qu'il faut mettre le machin. J'étais parti sur autre chose