cannot access WebUI using nginx reverse proxy #17329

Open
opened 2026-02-22 03:47:39 -05:00 by deekerman · 0 comments
Owner

Originally created by @vp1981 on GitHub (Nov 25, 2025).

qBittorrent & operating system versions

OS: Archlinux x86_64
packages:

$ pacman -Qs qbit | head -n 1
local/qbittorrent-nox-git 5.2.0alpha1+416+g46cc3a358-1
$ pacman -Qs nginx | head -n 1
local/nginx-mainline 1.29.3-1 

What is the problem?

I'm testing -git version of qbittorrent and faced some problem with WebUI and reverse proxy configuration.

The same configuration (for nginx) and for the same browser (firefox-nightly) works fine for 5.1.4, but only shows Not found for -git version.

I've checked that curl on "server" side (where nginx is running) could connect to the host on given port. Also, the "headers" (curl -I) and the web page (almost?) the same for -git and 5.1.4 versions.

I also checked WebUI configuration for 5.1.4 and -git: except the address, they are almost identical. I tried to enable "reverse proxy" and "reverse proxy list" WebUI configurations for -git, but nothing changed.

Has something changed for configuration WebUI + reserver proxy?

Steps to reproduce

  1. Build qbittorrent w/o GUI;
  2. Configure ngixn for reverse proxy as described on the Wiki;
  3. Run qbittorrent-nox (WebUI only) on a host;
  4. Open page to access WebUI using reverse proxy
  5. Only Not found would be seen.

Additional context

No response

Log(s) & preferences file(s)

Version 5.1.4:

$ grep 'WebUI\\' ~/.config/qBittorrent/qBittorrent.conf
%23%20WebUI\Address=*
WebUI\Address=XXXX
WebUI\AlternativeUIEnabled=false
WebUI\AuthSubnetWhitelistEnabled=false
WebUI\BanDuration=3600
WebUI\CSRFProtection=true
WebUI\ClickjackingProtection=true
WebUI\CustomHTTPHeaders=
WebUI\CustomHTTPHeadersEnabled=false
WebUI\HTTPS\CertificatePath=/etc/cert/hosts/local.crt
WebUI\HTTPS\Enabled=false
WebUI\HTTPS\KeyPath=/etc/cert/hosts/local.key
WebUI\HostHeaderValidation=false
WebUI\LocalHostAuth=true
WebUI\MaxAuthenticationFailCount=5
WebUI\Password_PBKDF2=XXXX
WebUI\Port=XXXX
WebUI\ReverseProxySupportEnabled=false
WebUI\RootFolder=
WebUI\SecureCookie=true
WebUI\ServerDomains=*
WebUI\SessionTimeout=3600
WebUI\TrustedReverseProxiesList=
WebUI\UseUPnP=false
WebUI\Username=XXXX

-git version:

WebUI\Address=XXXX
WebUI\AuthSubnetWhitelist=@Invalid()
WebUI\HTTPS\CertificatePath=/etc/cert/hosts/local.crt
WebUI\HTTPS\Enabled=false
WebUI\HTTPS\KeyPath=/etc/cert/hosts/local.key
WebUI\Password_PBKDF2=XXXX
WebUI\Port=XXXX
WebUI\ReverseProxySupportEnabled=true
WebUI\ServerDomains=*
WebUI\TrustedReverseProxiesList=XXXX
WebUI\UseUPnP=true
WebUI\Username=XXXX
Originally created by @vp1981 on GitHub (Nov 25, 2025). ### qBittorrent & operating system versions OS: Archlinux x86_64 packages: ``` $ pacman -Qs qbit | head -n 1 local/qbittorrent-nox-git 5.2.0alpha1+416+g46cc3a358-1 $ pacman -Qs nginx | head -n 1 local/nginx-mainline 1.29.3-1 ``` ### What is the problem? I'm testing -git version of qbittorrent and faced some problem with WebUI and reverse proxy configuration. The same configuration (for nginx) and for the same browser (firefox-nightly) works fine for 5.1.4, but only shows `Not found` for -git version. I've checked that `curl` on "server" side (where nginx is running) could connect to the host on given port. Also, the "headers" (`curl -I`) and the web page (almost?) the same for -git and 5.1.4 versions. I also checked `WebUI` configuration for 5.1.4 and -git: except the address, they are almost identical. I tried to enable "reverse proxy" and "reverse proxy list" WebUI configurations for -git, but nothing changed. Has something changed for configuration WebUI + reserver proxy? ### Steps to reproduce 1. Build qbittorrent w/o GUI; 2. Configure ngixn for reverse proxy as described on the Wiki; 3. Run qbittorrent-nox (WebUI only) on a host; 4. Open page to access WebUI using reverse proxy 5. Only `Not found` would be seen. ### Additional context _No response_ ### Log(s) & preferences file(s) Version 5.1.4: ``` $ grep 'WebUI\\' ~/.config/qBittorrent/qBittorrent.conf %23%20WebUI\Address=* WebUI\Address=XXXX WebUI\AlternativeUIEnabled=false WebUI\AuthSubnetWhitelistEnabled=false WebUI\BanDuration=3600 WebUI\CSRFProtection=true WebUI\ClickjackingProtection=true WebUI\CustomHTTPHeaders= WebUI\CustomHTTPHeadersEnabled=false WebUI\HTTPS\CertificatePath=/etc/cert/hosts/local.crt WebUI\HTTPS\Enabled=false WebUI\HTTPS\KeyPath=/etc/cert/hosts/local.key WebUI\HostHeaderValidation=false WebUI\LocalHostAuth=true WebUI\MaxAuthenticationFailCount=5 WebUI\Password_PBKDF2=XXXX WebUI\Port=XXXX WebUI\ReverseProxySupportEnabled=false WebUI\RootFolder= WebUI\SecureCookie=true WebUI\ServerDomains=* WebUI\SessionTimeout=3600 WebUI\TrustedReverseProxiesList= WebUI\UseUPnP=false WebUI\Username=XXXX ``` -git version: ``` WebUI\Address=XXXX WebUI\AuthSubnetWhitelist=@Invalid() WebUI\HTTPS\CertificatePath=/etc/cert/hosts/local.crt WebUI\HTTPS\Enabled=false WebUI\HTTPS\KeyPath=/etc/cert/hosts/local.key WebUI\Password_PBKDF2=XXXX WebUI\Port=XXXX WebUI\ReverseProxySupportEnabled=true WebUI\ServerDomains=* WebUI\TrustedReverseProxiesList=XXXX WebUI\UseUPnP=true WebUI\Username=XXXX ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/qBittorrent#17329
No description provided.