Page 1 of 1

Reverse Proxy on CentOS 7

Posted: Tue Dec 27, 2016 8:27 pm
by askurat
I am having an issue trying to setup a reverse proxy for Deluge 1.3.12. My vhost is setup on CentOS 7. It seems to load the webui just fine but doesn't allow me to login. It just keeps prompting for my password. I have tried just about everything. This seems to only happen when connecting through https.

Here is what my conf file looks like currently:

Code: Select all

<VirtualHost *:80>
ServerAdmin admin@domain.com
ServerName deluge.domain.com
ServerAlias www.deluge.domain.com
DocumentRoot /var/www/html

ErrorLog /var/log/apache/deluge.domain.com/error.log

ProxyPreserveHost On
    
ProxyPass / http://localhost:8112/

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

RewriteEngine on
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,QSA,R=permanent]
</VirtualHost>

Re: Reverse Proxy on CentOS 7

Posted: Wed Dec 28, 2016 8:30 am
by Cas