Salut 🙂
Oui tout à fait faisable, en plus si tu as utilisé le script rutorrent avec nginx tu peux tout faire avec un NGiNX
Voici un exemple de ce qu'on appelle un vhost sou nginx 😉 (à mettre dans /etc/nginx/sites-enabled ou sites-available selon les installations)
server {
listen 80;
server_name mondomaine.com *.mondomaine.com;
access_log /var/www/mondomaine.com/logs/nginx_access.log vhosts;
error_log /var/www/mondomaine.com/logs/nginx_error.log;
location / {
root /var/www/mondomaine.com/www/;
index index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /var/www/nginx-default;
}
# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
location ~ /\.ht {
deny all;
}
}
Plus d'infos sur : https://publications.jbfavre.org/web/nginx-vhosts-automatiques-avec-SSL-et-authentification.fr