<?php
/*
General configuration of Cakebox
*/
$app["cakebox.root"] = "/var/world73/"; // Root directory Cakebox have to scan
$app["cakebox.access"] = "/world73/"; // Alias used in web server for direct ac$
/*
Directory settings
*/
$app["directory.ignoreDotFiles"] = true;
$app["directory.ignore"] = "//"; // Regex for files exclusion. For exemple : "/$
/*
Web player settings
*/
$app["player.type"] = "HTML5"; // HTML5 or DIVX or VLC
GNU nano 2.2.6 Fichier : /etc/nginx/sites-enabled/cakebox.conf
server {
listen 80;
server_name cakebox.world73.fr.nf; ## sous domaine obligatoire
root /var/www/cakebox/public;
index index.php;
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;
}