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;
}
}
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