Je viens de voir qu'il y a un petit soucis avec le tuto seedbox-manager par rapport à php.
Pour les conf, un coup on a:
Ex.
Pour les conf, un coup on a:
ou en URI:location ^~ / {
root /var/www/seedbox-manager/public;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
}
Et pour le php-manager.conf, on est sur du php5 alors que le tuto rutorrent installe maintenant du php7location ^~ /seedbox-manager {
alias /var/www/seedbox-manager/public;
include /etc/nginx/conf.d/php-manager.conf;
include /etc/nginx/conf.d/cache.conf;
}
Donc par rapport à ce que j'ai posté au dessus comme rutorrent.conf, commences par vérifier ta version de php:location ~ \.php$ {
root /var/www/seedbox-manager/public;
include /etc/nginx/fastcgi_params;
fastcgi_index index.php;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root/index.php;
}
php -v
Si tu as du 7, php-manager.conf devrait plutot être comme ça sinon c'est ok:
location ~ \.php$ {
root /var/www/seedbox-manager/public;
include /etc/nginx/fastcgi_params;
fastcgi_index index.php;
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root/index.php;
}
Bon courage !Ex.