Salut,
Voilà le rencontre un problème pour la mise en place de Vhost sur le serveur.
Pour l'installation de la Seedbox j'ai utilisé le topic suivant :
http://mondedie.fr/d/5399.
Je veux associé le domaine :
seed.mondomaine.fr à rutorrent
admin.mondomaine.fr au seedbox-manager
Or je n'y arrive pas.
Voilà le fichier de config pour rutorrent :
[*]server {
listen 80;
server_name seed.mondomaine.fr;
charset utf-8;
index index.html index.php;
client_max_body_size 20G;
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 "spectre";
auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd";
location = /favicon.ico {
access_log off;
log_not_found off;
}
## début config rutorrent ##
location /SPECTRE {
include scgi_params;
scgi_pass 127.0.0.1:5005;
auth_basic "spectre";
auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_spectre";
}
location ^~ /rutorrent {
root /var/www/rutorrent;
include /etc/nginx/conf.d/php;
include /etc/nginx/conf.d/cache;
location ~ /\.svn {
deny all;
}
location ~ /\.ht {
deny all;
}
}
location ^~ /rutorrent/conf/ {
deny all;
}
location ^~ /rutorrent/share/ {
deny all;
}
## fin config rutorrent ##[/*]
Merci pour votre aide
Amicalement,
Spectre