TorrServer icon indicating copy to clipboard operation
TorrServer copied to clipboard

How enable https ?

Open SergeKZ opened this issue 2 years ago • 5 comments

My ISP monitors http and blocks ip externally! tell me how to enable https ?

SergeKZ avatar Sep 29 '22 13:09 SergeKZ

Nginx reverse proxy

slashfast avatar Nov 01 '22 12:11 slashfast

Nginx reverse proxy

On Android?

lieranderl avatar Nov 01 '22 15:11 lieranderl

I consider it more as a feature request to enable HTTPS in gin (directly in torrserver's webserver) using self-signed certs and (even better ) give users the ability to upload their own cert/key in web settings.

lieranderl avatar Nov 01 '22 15:11 lieranderl

Обратный прокси Nginx

На Android?

On Android it is better to use a local server, otherwise it is better to host on a dedicated server/VPS with any reverse proxy solution

slashfast avatar Nov 01 '22 15:11 slashfast

Обратный прокси Nginx

На Android?

On Android it is better to use a local server, otherwise it is better to host on a dedicated server/VPS with any reverse proxy solution

I do not think that setup an additional local server just for the reverse proxy is a good solution here. It requires additional physical server and knowledge. As I wrote above, it's easy to add HTTPS functionality directly on Torrserver.

Here is another use case there HTTPS is required on TorrServer: Torrserver is running in the local network on android tvbox. Lampa or some other movie/torrents web applications can connect to Torrserver via API to add torrents. Such web apps are using HTTPS. Once a user tries to add a torrent to torrserver from the web app, the web app is making an API request to torrserver via HTTP, so we have a "HTTPS to HTTP" request which is blocked on all modern browsers. Users have to manually disable that security feature in the browser. Most of the users do not even know about that, so they think it just doesn't work. Moreover, you can not disable security features in mobile browsers, so you can not add torrents from the web app opened on your phone.

lieranderl avatar Nov 01 '22 16:11 lieranderl

PRs are welcome

tsynik avatar Dec 30 '22 03:12 tsynik