[Solved] Deluge proxy on Apache

General support for problems installing or using Deluge
Locked
Altin
New User
New User
Posts: 2
Joined: Sun Jul 31, 2016 11:05 pm

[Solved] Deluge proxy on Apache

Post by Altin »

Hi
I have Deluge installed on Ubuntu 16.04 headless server. When I browse to 192.168.1.100:8112 I can access the Deluge Web UI successfully. I want to set it so that I browse to 192.168.1.100/deluge to get the UI, as I want to set port forwarding on my router.

I've reviewed a lot of sites, including this forum and the Deluge wiki on WebUI ReverseProxy, on how to set proxying but haven't gotten it to work successfully so far. The best result I've had is by editing my /etc/apache2/sites-available/00-default.conf to add:

Code: Select all

ProxyPass / http://localhost:8112/
ProxyPassReverse / http://localhost:8112/
This gives me the Deluge Web UI when I browse to 192.168.1.100. When I change the line to 'ProxyPass /deluge http://localhost:8112/', browsing to http://192.168.1.100/deluge gives me the Deluge Web UI 1.3.12 title on the top of the tab, but the screen is blank/white.

I've tried using '127.0.0.1' & '192.168.1.100' in place of 'localhost', but get the same result.

I've tried adding the lines below to /etc/apache2/sites-available/00-default.conf also, but no difference in the outcome:

Code: Select all

<Location /deluge>
ProxyPassReverse /deluge
Order allow,deny
Allow from all
</Location>
What am I missing in my config? Is the 00-default.conf the best file to be making the changes in?

Once up and running, I want to access it over port 443 rather than 80, using LetsEncrypt SSL. What proxy changes will be needed for that to work?
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Deluge proxy on Apache

Post by Cas »

The instructions on the ReverseProxy wiki were written and tested recently. Are you putting the code in the correct section of the conf file, also what you have pasted is not the same as on the wiki.
Altin
New User
New User
Posts: 2
Joined: Sun Jul 31, 2016 11:05 pm

Re: Deluge proxy on Apache

Post by Altin »

Got it working! I had been typing 'ProxyPassReverse /deluge' under the Location section. Thanks for your help.
Locked