= Reverse Proxy with Deluge WebUI = A reverse proxy is where there is an existing http web server (Apache, Nginx) that you wish Deluge WebUI to be served through. e.g. Site `http://example.net` serves the WebUI at `http://example.net/deluge`. In the configurations below `deluge-web` is running on `localhost` with default port `8112` and reverse proxy url suffix `/deluge`. Apache Config: :: Enable the following apache modules: {{{ a2enmod proxy a2enmod proxy_html a2enmod proxy_http a2enmod headers }}} And add the following to your `.conf` file: {{{ ProxyPass /deluge http://localhost:8112/ ProxyPassReverse / ProxyPassReverseCookiePath / /deluge RequestHeader set X-Deluge-Base "/deluge/" Order allow,deny Allow from all }}} Nginx Config: :: {{{ location /deluge { proxy_pass http://localhost:8112/; proxy_set_header X-Deluge-Base "/deluge/"; include proxy-control.conf; add_header X-Frame-Options SAMEORIGIN; } }}} ''Note: Ensure the trailing slashes are maintained.'' WebUI `base` Option: :: If you cannot configure your server with the !RequestHeader, you can either set the base value in the `web.conf` file or run `deluge-web` with the `--base` argument to achieve the same effect: {{{ deluge-web --base /deluge/ }}}