Transmission working with Nginx

Discussion of the Web Interface for Transmission, formerly known as Clutch. This applies to all version of Transmission
Post Reply
cyrbil
Posts: 1
Joined: Thu Feb 14, 2013 12:46 am

Transmission working with Nginx

Post by cyrbil »

Hi,

I have my transmission server working on default port and i want to be able to
use the web interface with an url like http:///my.domain/torrents.

I tried adding a location and a proxy conf to nginx but it fail to work fully.
I guess it's because of web interface redirections.

Code: Select all

server {
        root /data/www;
        autoindex on;

        server_name localhost;

        location / {
                try_files $uri $uri/ /index.html;
        }

        location /torrents/ {
                proxy_pass_header  X-Transmission-Session-Id;
                proxy_pass         http://127.0.0.1:9091;
        }
}
This conf fail because it can't reach /transmission/rpc (404 /usr/share/transmission/web/rpc )
I have tried many things and i alwais have something missing.
transmission/rpc or transmission/upload or transmission/web or transmission/javascript/whatever ...

Thanks for your help
Post Reply