je suis en 1.6.1 tiens voila : (ps cest une installation "neuve" que j'ai fait, mais javais fait la mise à jour avant de formater mon serveur et ça fonctionnait bien)
cakebox.conf
server {
listen 80;
server_name ***.fr; ## sous domaine obligatoire
# return 301 https://$server_name$request_uri;
rewrite ^ https://***.fr$request_uri?;
}
server {
listen 443 ssl;
server_name ****.fr;
root /var/www/cakebox/public;
index index.php;
# ssl on;
ssl_certificate /etc/nginx/ssl/sd.***_chain.pem;
ssl_certificate_key /etc/nginx/ssl/sd.key.pem;
ssl_session_timeout 5m;
ssl_prefer_server_ciphers on;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers ALL:!aNULL:!eNULL:!LOW:!EXP:!RC4:!3DES:+HIGH:+MEDIUM;
# ssl_certificate /etc/nginx/ssl/server.crt;
# ssl_certificate_key /etc/nginx/ssl/server.key;
auth_basic "seedbox";
auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd";
charset utf-8;
include /etc/nginx/conf.d/cache;
access_log /var/log/nginx/cakebox-access.log;
error_log /var/log/nginx/cakebox-error.log;
location = / {
try_files @site @site;
}
location / {
try_files $uri $uri/ @site;
}
location /*/ {
alias /home/*/torrents/;
add_header Content-Disposition "attachment";
satisfy any;
allow all;
}
location /*/ {
alias /home/*/torrents/;
add_header Content-Disposition "attachment";
satisfy any;
allow all;
}
location /*/ {
alias /home/*/torrents/;
add_header Content-Disposition "attachment";
satisfy any;
allow all;
}
location /*/ {
alias /home/*/torrents/;
add_header Content-Disposition "attachment";
satisfy any;
allow all;
}
location /*/ {
alias /home/*/torrents/;
add_header Content-Disposition "attachment";
satisfy any;
allow all;
}
## etc si d'autre utilisateur ##
location @site {
fastcgi_pass unix:/var/run/php5-fpm.sock;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root/index.php;
fastcgi_param APPLICATION_ENV production;
## uncomment when running via https
fastcgi_param HTTPS on;
}
user.php
<?php
/*
General configuration of Cakebox
*/
$app["cakebox.root"] = "/home/***/torrents/"; // Root directory Cakebox have to scan
$app["cakebox.access"] = "/***/"; // Alias used in web server for direct access
/*
Directory settings
*/
$app["directory.ignoreDotFiles"] = false;
$app["directory.ignore"] = "//"; // Regex for files exclusion. For exemple : "/(\.nfo|\.test)$/"
/*
Web player settings
*/
$app["player.default_type"] = "vlc"; // html5 or divx or vlc
$app["player.auto_play"] = "false";
/*
User rights
*/
$app["rights.canPlayMedia"] = true;
$app["rights.canDownloadFile"] = true;
$app["rights.canArchiveDirectory"] = false;
$app["rights.canDelete"] = true;
/*
Betaseries account
NB: Ask API key here http://www.betaseries.com/api/
*/
$app["bs.login"] = "";
$app["bs.passwd"] = "";
$app["bs.apikey"] = "";