authz_host_module
deflate_module
dir_module
filter_module
headers_module
mime_module
proxy_module
proxy_http_module
rewrite_module
ssl_module
unique_id_module
deflate_module
dir_module
filter_module
headers_module
mime_module
proxy_module
proxy_http_module
rewrite_module
ssl_module
unique_id_module
Not all of them are needed, but most are needed for this setup. Here is the vhost I have configured:
<VirtualHost *:80="">
Servername dmz
ProxyRequests off
ProxyHTMLExtended on
ProxyPass /deluge http://127.0.0.1:8112/
ProxyHTMLURLMap http://127.0.0.1:8112 /deluge
Header unset Server
<location /deluge>
ProxyPassReverse /
ProxyPassReverseCookiePath / /deluge/
SetOutputFilter INFLATE;proxy-html;DEFLATE
ProxyHTMLURLMap / /deluge/ ec
ProxyHTMLURLMap /deluge /deluge ec
ProxyHTMLURLMap ([^*])(\/[^*].*) $1/deluge$2 hRxL
#ProxyHTMLLogVerbose On
Order allow,deny
Allow from all
</Location>
</VirtualHost>
Servername dmz
ProxyRequests off
ProxyHTMLExtended on
ProxyPass /deluge http://127.0.0.1:8112/
ProxyHTMLURLMap http://127.0.0.1:8112 /deluge
Header unset Server
<location /deluge>
ProxyPassReverse /
ProxyPassReverseCookiePath / /deluge/
SetOutputFilter INFLATE;proxy-html;DEFLATE
ProxyHTMLURLMap / /deluge/ ec
ProxyHTMLURLMap /deluge /deluge ec
ProxyHTMLURLMap ([^*])(\/[^*].*) $1/deluge$2 hRxL
#ProxyHTMLLogVerbose On
Order allow,deny
Allow from all
</Location>
</VirtualHost>
Server: TwistedWeb/10.2.0
The SetOutputFilter line will inflate the gzip compressed data, modify it and deflate it again. If this configuration stops working for a new version of Deluge the ProxyHTMLLogVerbose option can be uncommented to debug. Also make sure the system running the webUI is able to make outbound connections to torrent trackers in the torrent file you are uploading or the webUI will take forever to load a new torrent file. Happy dowloading!
Hey thanks for posting this! I've been trying to get it to work following your guide, but I get this error when I start apache:
ReplyDelete[error] (EAI 2)Name or service not known: Could not resolve host name *:80="" -- ignoring!
And the webui doesn't work. Seems to be a problem with
Any ideas?
Cheers,
Matt
It looks like your system is not able to resolve the host name. What have you configured as the Servername and is that host also in your DNS server?
ReplyDelete