iQbit icon indicating copy to clipboard operation
iQbit copied to clipboard

404 error when reverse proxying it under path like /qbit

Open apjyotirmay opened this issue 2 years ago • 3 comments

Hi, I'm accessing qbittorrent using an nginx-reverse proxy using official wiki.

The problem here is, all paths in this theme are being served under /static/ instead of static/. The latter fixes the path issue, but since I'm unable to find out all the places where paths are being used, I can't resolve this gracefully with a MR.

Please consider my solution. Thanks for this lovely project :)

apjyotirmay avatar Aug 16 '22 20:08 apjyotirmay

Definitely looking into this tomorrow.

How do you check how the paths are being served?

ntoporcov avatar Aug 17 '22 00:08 ntoporcov

Haha, nothing fancy - I just inspected the rendered page's DOM in browser dev tools. I compared your theme's code to the default theme's html to find what's going on :D

apjyotirmay avatar Aug 17 '22 03:08 apjyotirmay

Hi, I'm trying to fix this issue myself. But the development server is failing. Has something broken the latest code, or am I the only one?

image

apjyotirmay avatar Nov 08 '22 09:11 apjyotirmay