Enlève apache, tu as tout qui tourne bien sur nginx, ne va pas te compliquer la tâche !
Pour ton fichier conf
sudo nano /etc/nginx/sites-enabled/rutorrent.conf
Tu te places juste après
## fin config rutorrent ##
et tu rajoutes, en remplaçant TonUtilisateurRutorrent par, bah ton utilisateur rutorrent 😛
## Début config phpmyadmin ##
location ^~ /phpmyadmin {
root /var/www;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
auth_basic "Seedbox";
auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_TonUtilisateurRutorrent";
# satisfy any;
# allow all;
}
## fin config phpmyadmin ##]
Chaque fois que tu vas te log tu vas devoir rentrer tes identifiants rutorrent pour accéder à la page, puis ceux de phpmyadmin pour accéder à ta BDD. Du coup tu peux aussi utiliser :
## Début config phpmyadmin ##
location ^~ /phpmyadmin {
root /var/www;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
satisfy any;
allow all;
}
## fin config phpmyadmin ##]
Et la la page pour tes login phpmyadmin s'affichera directement.
N'oublie pas de redémarrer !
service nginx restart
Pour plus tard, fait bien attention aux tutos dont tu te sers : si tu as commencé sur nginx, continue dessus. Nginx et apache font la
"même chose", et tu vas avoir des problèmes si tu veux te servir des 2 simultannément (je ne sais même pas si c'est possible).