Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reverse proxy web ui breakages #20837

Open
Dialgatrainer02 opened this issue May 13, 2024 · 2 comments
Open

reverse proxy web ui breakages #20837

Dialgatrainer02 opened this issue May 13, 2024 · 2 comments
Labels
Docker WebUI WebUI-related issues/changes

Comments

@Dialgatrainer02
Copy link

Dialgatrainer02 commented May 13, 2024

qBittorrent & operating system versions

qbittorrent: 4.6.4
os: docker image hosted on alpine vm

What is the problem?

when behind a reverse proxy most functionality of the web gui seems to break
i can exit and log out but most interactivity is broken and torrents don't appear

Steps to reproduce

  1. configure qbittorrent
  2. configure nginx reverse proxy
  3. access qbit on lan and behing proxy
  4. see errors

Additional context

image
image

Log(s) & preferences file(s)

image
192.168.0.200 is my reverse proxi have enabled trusted proxies and added 192.168.0.200 to it and still get the broken barely functional web ui

location / {
    proxy_pass              http://192.168.0.203:8080/;
    proxy_set_header        X-Forwarded-Host        $server_name:$server_port;
    proxy_hide_header       Referer;
    proxy_hide_header       Origin;
    proxy_set_header        Referer                 '';
    proxy_set_header        Origin                  '';
    add_header              X-Frame-Options         "SAMEORIGIN";
}

this is in npm's custom config

@thalieht thalieht added WebUI WebUI-related issues/changes Docker labels May 13, 2024
@toviszsolt
Copy link

toviszsolt commented May 27, 2024

@Dialgatrainer02

I have it set up the same way and no errors.

  • Docker container → network in bridge mode, port 8080/tcp configured (different port for me)
  • qBit settings → Web UI → Ip addess is * and Port is 8080 (get another port on the proxy for me, but leave 8080)
  • Proxy settings → Scheme: http / Forward IP: 192.168.0.203 / Forward Port: 8080 (for me this is changed) / Cache Assets: off
  • Proxy Access List → Local network rule for me: allow 192.168.0.0/16

Perhaps you could also take a screenshot of the dev console to find out more.

@Dialgatrainer02
Copy link
Author

I'll be home ina few days I'll send ss of the console as well as double check asset caching is off

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Docker WebUI WebUI-related issues/changes
Projects
None yet
Development

No branches or pull requests

3 participants