Monday 6 February 2017

Transmission reverse proxy

All right, I have to write this down before I forget. I spent the better part of the day figuring this out, so here it is in case I ever need this again.

I wanted to set up a short URL for transmission-daemon on my NAS so that instead of awkward http://nas:9091/ I could type something more finger-friendly (most notably, without the colon for port number), ideally http://nas/t/. Here is the final config that resulted after several hours of research and apache2ctl restarts:

<VirtualHost *:80>
        ServerName nas
        RewriteEngine on
        RewriteRule /t[/]?$ /transmission/web/ [R=permanent]
        ProxyPass /transmission
        ProxyPassReverse /transmission

Thanks to everyone on forums and StackOverflow for numerous solutions that allowed me to piece this all together.

1 comment:

  1. Casino video games have undergone a major metamorphosis through 토토사이트 the years before evolving and reaching the present state that everyone knows right now. As you can to|you presumably can} guess, years ago, there were no gambling machines and slots - instead, it was all mainly about basic video games with cards and cube. Anyway, as the scientific and technological progress got here around, the first slot machines emerged on the scene. They created a turning point in the complete gambling trade and had been shortly multiplied all through all gaming halls and casinos on the planet. Australia - Australian slots are the subsequent most popular on the planet, after these within the USA. Australia began manufacturing slot machines as early as the Nineteen Fifties.