ruTorrent and ispconfig

Discussion in 'Installation/Configuration' started by Tevez, May 2, 2018.

  1. Tevez

    Tevez New Member

    Hello,
    I have two questions. I have a server (Perfect server Ubuntu, ispconfig, nginx)
    1 - I tried to install rtorrent/rutorrent to have access by http://MY_IP:8080/rutorrent... I try a several ways, and I never can do that, give me a not found.

    2 - Other question is, it possible I add by website a rutorrent install and access by http://my_domain.com/rutorrent?
    Using config by website/ngnix, like the tutorial to access phpmyadmin and webmail, is possible, and probably more easy?

    Thank you
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Port 8080 is the ispconfig vhost and used by ispconfig only, you shall not install any other software under that vhost and port.
     
  3. Tevez

    Tevez New Member

    Fine. On rtorrent I set 5040... but not working as well.

    About the second question? Is possible and more efficient?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    I have not used rutorrent yet, but I guess using a separate website in ISPConfig is the best way to go.
     
  5. Tevez

    Tevez New Member

    I have this on nginx/sites-available/rtorrent


    Code:
    # Forward PHP requests to php-fpm
    upstream php-handler {
      server unix:/run/php/php7.0-fpm.sock;
    }
    
    server {
      listen 8081  default_server;
      root /var/www/rutorrent;
      index index.php index.html;
    
      server_name _;
    
      # Send PHP files to our PHP handler
      location ~ .php$ {
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        fastcgi_pass php-handler;
        fastcgi_index index.php;
        include fastcgi.conf;
      }
    
      # Password authentication
      location /rutorrent {
        auth_basic "Restricted";
        auth_basic_user_file /var/www/rutorrent/.htpasswd;
      }
    }
    

    What is wrong here?

    PS: I change the port to 5050, and open the same port on Firewall in ISPCONFIG
     

Share This Page