Deluge and Cherokee reverse proxy
Posted: Mon Sep 28, 2009 6:13 pm
Hi everybody!
I am new to this forum, and what I tried to do is set up deluge webui to be served through cherokee web server.
As I got this working, I decided to share the settings so here there are:
My setup is running in localhost:8112 deluge webui.
First I create an information source (Add new remote host), type "deluge" or whatever you like in Nick field. And add localhost:8112 in Connection field. Click save.
Then, create a new virtual server (like deluge.example.com for example)
In Behaviours tab, in default, choose Handler: HTTP reverse proxy.
In REPLY, URL rewrite: regex ^(http://127\.0\.0\.1:8112/)(.*)$, and substitution by http://deluge.example.com/$2
And there you go!!
When you point your browser to http://deluge.example.com, you will access deluge webui without worrying the port number, etc.
I am new to this forum, and what I tried to do is set up deluge webui to be served through cherokee web server.
As I got this working, I decided to share the settings so here there are:
My setup is running in localhost:8112 deluge webui.
First I create an information source (Add new remote host), type "deluge" or whatever you like in Nick field. And add localhost:8112 in Connection field. Click save.
Then, create a new virtual server (like deluge.example.com for example)
In Behaviours tab, in default, choose Handler: HTTP reverse proxy.
In REPLY, URL rewrite: regex ^(http://127\.0\.0\.1:8112/)(.*)$, and substitution by http://deluge.example.com/$2
And there you go!!
When you point your browser to http://deluge.example.com, you will access deluge webui without worrying the port number, etc.