- Modifié
Bonsoir,
J'aide un ami à monter sa seedbox. Pour rtorrent, parfait.
Les ennuis commencent avec cakebox. Nginx ne veut pas redémarrer.
Quand je fais:
Avez-vous une piste pour moi?
Bonne soirée
J'aide un ami à monter sa seedbox. Pour rtorrent, parfait.
Les ennuis commencent avec cakebox. Nginx ne veut pas redémarrer.
Quand je fais:
nginx -t
J'ai en retour:nginx: [emerg] open() "/etc/nginx/conf.d/cache" failed (2: No such file or directory) in /etc/nginx/sites-enabled/cakebox.conf:12
nginx: configuration file /etc/nginx/nginx.conf test failed
Fichier conf de cakebox:server {
listen 81;
server_name _;
root /var/www/cakebox/public;
index index.php;
allow 127.0.0.1; # only the proxy
deny all;
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 ~ \.php$ {
return 404;
}
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;
}
}
Avez-vous une piste pour moi?
Bonne soirée
