Bonjour a tous
J'ai un problème lors de l’installation de l'interface graphique du Teamspeak plus précisément lors du restart de nginx.
Voici mon souci :
[....] Restarting nginx: nginxnginx: [emerg] open() "/etc/nginx/conf.d/php.conf" failed (2: No such file or directory) in /etc/nginx/sites-enabled/rutorrent.conf:30
nginx: configuration file /etc/nginx/nginx.conf test failed
Voici ce que vous pourriez avoir besoin pour m'aider :
nano /etc/nginx/sites-enabled/rutorrent.conf
server {
listen 80 default_server;
listen 443 default_server ssl;
server_name _;
index index.html index.php;
charset utf-8;
client_max_body_size 10M;
ssl_certificate /etc/nginx/ssl/server.crt;
ssl_certificate_key /etc/nginx/ssl/server.key;
access_log /var/log/nginx/rutorrent-access.log combined;
error_log /var/log/nginx/rutorrent-error.log error;
error_page 500 502 503 504 /50x.html;
location = /50x.html { root /usr/share/nginx/html; }
auth_basic "seedbox";
auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd";
location = /favicon.ico {
access_log off;
log_not_found off;
}
## Début config TeamSpeak ##
location ^~ /teamspeak {
root /var/www;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
satisfy any;
allow all;
}
## Fin config TeamSpeak ##
## début config accueil serveur ##
location ^~ / {
root /var/www/base;
include /etc/nginx/conf.d/php;
include /etc/nginx/conf.d/cache;
satisfy any;
allow all;
}
## fin config accueil serveur ##
## début config proxy ##
location ^~ /proxy {
root /var/www;
include /etc/nginx/conf.d/php;
include /etc/nginx/conf.d/cache;
}
## fin config proxy ##
## début config rutorrent ##
Ensuite j'ai le code de Rutorrent je ne suis pas sur qu'il sois utile (si besoin je l'ajouterais)
nano /var/www/teamspeak/config.php
<?php
/*
*Copyright (C) 2012-2013 Psychokiller
*
*This program is free software; you can redistribute it and/or modify it under the terms of
*the GNU General Public License as published by the Free Software Foundation; either
*version 3 of the License, or any later version.
*
*This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
*without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*See the GNU General Public License for more details.
*
*You should have received a copy of the GNU General Public License along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
if(!defined("SECURECHECK")) {die($lang['error_file_alone']);}
/*
REGARD!!
If you use the web interface, they must write the webserver ip in the query_ip_whitelist.txt.
After adding the ip, the server must be restarted!
Add more Server Ip's.
For Example
$server[0]['alias']= "Lokaler Server1";
$server[0]['ip']= "127.0.0.1";
$server[0]['tport']= "10011";
$server[1]['alias']= "Lokaler Server2";
$server[1]['ip']= "127.0.0.2";
$server[1]['tport']= "20022";
$server[2]['alias']= "Lokaler Server3";
$server[2]['ip']= "127.0.0.3";
$server[2]['tport']= "30033";
*/
$server[0]['alias']= "Ayutu Server";
$server[0]['ip']= "127.0.0.1";
$server[0]['tport']= 10011;
$cfglang = "fr"; //Language German = de, English = en, Netherlandish=nl (by pd1evl), French = fr (by supra63200)
$duration = "100"; //Set the Limit for Clients show per Page on Client List
$fastswitch=true; //If true you can switch the Server on the header
$showicons="left"; //Define the position where the icons on the Viewer will show left or right
$style="new"; //Chose your design set 'new' for the default design or the name of your own create design
$msgsend_name="Webinterface"; //This Name will be show if you send a message to a Server
$show_motd=true; // Set it to false to not show the message of the day window
$show_version=true; // Set it to false to not show the Webinterface Version on the footer
?>
Le souci est peut être tout bête désoler
(EDIT 1 : Je précise que le TS fonctionne bien seul l'interface graphique pose problème :/)