Page 1 of 1

Reverse proxy in Qbit 3.2

Posted: Sun May 17, 2015 5:36 pm
by eddie4
Hi,

I have been using apache to reverse proxy to Qbittorrent-nox. Apache takes care of encryption and access control. However with the new upgrade of the web interface links are no longer dynamic.

Reverse proxy adres
https://www.*.info/qbit/

Current url's:
https://www.*.info/css/style.css
https://www.*.info/login

Should be:
https://www.*.info/qbit/css/style.css
https://www.*.info/qbit/login

Any chance you could fix this by adding a reverse proxy prefix? Or tell me if it already exists and is undocumented.

Cheers
Eddie

Re: Reverse proxy in Qbit 3.2

Posted: Mon May 18, 2015 8:50 am
by eddie4
Seems It already has been fixed just hasn't gotten it way into the repository. See screenshot

Re: Reverse proxy in Qbit 3.2

Posted: Mon May 18, 2015 8:54 am
by Peter
Wait for merge, or git clone + apply patch + compile.
(It's easy to do the latter on Linux.)

Re: Reverse proxy in Qbit 3.2

Posted: Mon Aug 31, 2015 9:21 pm
by cpressland
Hey Guys,

I've just compiled the latest build from Github, specifically

Code: Select all

[root@dl01 ~]# qbittorrent-nox --version
qBittorrent v3.3.0beta
And this doesn't seem to work, was there ever an officially released patch / fix for this? Trying to proxy with Nginx with this:

Code: Select all

location /qbittorrent {
    proxy_pass http://127.0.0.1:8080;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  }
Accessing the box directly on port 8080 works fine, so I know the WebServer is working perfectly, it's just reverse proxying with /qbittorrent breaks it.

Any ideas?

Thanks!