Version 1 (modified by bro, 8 years ago) (diff)


Serving Deluge WebUI through a reverse proxy

If you have a webserver running and want the Deluge WebUI to be served through this server, you can set up your web server to work as a reverse proxy.

In this example we have an apache server serving on, and want it to serve the WebUI on

Are running the Deluge WebUI on an internal host with IP which by default serves on port 8112

 deluge-web -d -i

Add this to the apache config:

ProxyPass /deluge                                                                                                                                                                      
 <Location /deluge>                                                                                                                                                                                                
     ProxyPassReverse /                                                                                                                                                                                            
     ProxyPassReverseCookiePath / /deluge                                                                                                                                                                          
     RequestHeader set X-Deluge-Base "/deluge/"                                                                                                                                                                    
     Order allow,deny                                                                                                                                                                                              
     Allow from all                                                                                                                                                                                                

If you cannot configure your server to use the RequestHeader?, you can run deluge-web with the --base argument to achieve the same:

 deluge-web -d -i --base /deluge/