ntoporcov / iQbit

GNU General Public License v3.0
564 stars 46 forks source link

404 error when reverse proxying it under path like /qbit #33

Open apjyotirmay opened 2 years ago

apjyotirmay commented 2 years ago

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 :)

ntoporcov commented 2 years ago

Definitely looking into this tomorrow.

How do you check how the paths are being served?

apjyotirmay commented 2 years ago

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 commented 1 year ago

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