[Solved] Deluge proxy on Apache
Posted: Sun Jul 31, 2016 11:43 pm
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:
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:
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?
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/
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>
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?