-
Notifications
You must be signed in to change notification settings - Fork 43
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
iQbit doesn't work through NGINX reverse proxy #64
Comments
Could be the same: #38, which is in open state since Aug 30, 2022. |
Yeah, it's hard to fix something that I don't use and don't necessarily understand how it's used so I prioritized other issues.. What is this reverse proxy thing? Why do you use it? What is it actually doing in your network? |
@ntoporcov in simple terms, reverse proxy is used to access self-hosted services through web. E.g., you have your server which is located far away from you, not in the same local network. It hosts some service on localhost. You want to access this service. Of course, it can be accessed through VPN, but e.g., you want to give the access to this service not only to you (example: Nextcloud) - and in case of using VPN, you provide the access not only to this service, but also to other recourses which you don't want to share with others, e.g., due to security reasons. Other thing: you may not want to use VPN at all to access your service (switching it on and off, waste battery power on enabled VPN). That's where reverse proxy comes in handy. E.g., you have your own website or use some of DDNS services. Using reverse proxy, you can easily map your service which is on address localhost:1234 to website my-server.com/my-service (SERVER.COM/qbt in the config above). Reverse proxy also supports SSL certificates and prohibit http access, to access only through https. qBittorrent repo has at least two docs regarding NGINX reverse proxy:
Default qBittorrent WebUI works without any issues through reverse proxy. iQbit doesn't. But default WebUI is not optimized at all for smartphones, and it's hard to use its interface on them. Here comes iQbit which can provide excellent UX on smartphones. Supporting reverse proxy, it can be accessed securely through user's website from anywhere with an internet connection. BTW, that's what ChatGPT answered on the request to provide the list of self-hosted services with reverse proxy support:
And that's what it answered on the question "And what about qBittorrent?":
|
I'm using apache2. You need to reverse proxy the static path as well. I set
in the .conf file. That fixed my reverse proxy and now everything works just fine. Not quite sure about nginx, but I think the solution would look similar. |
Thanks! I tried this in Nginx and that works.
Note: If you want to show iQbit's icon correctly, then add this below. But this may break your other websites' icons.
|
After switching from default qBittorrent WebUI to iQbit, webpage become inaccessible through NGINX reverse proxy. The webpage has caption "iQbit" and the content of the page is completely white. However, the service works through localhost:30000 correctly. Restarting NGINX doesn't help.
Please provide instructions of how to setup iQbit through NGINX reverse proxy, or implement the support of NGINX reverse proxy. Currently this bug blocks usage of iQbit.
For reference, this is my configuration:
The text was updated successfully, but these errors were encountered: