T
T
TEMK2_CAMAPA2021-11-16 12:12:53
Nginx
TEMK2_CAMAPA, 2021-11-16 12:12:53

Nginx + Docker. Rights issue?

Good afternoon!
Torrserve is running in the docker, it works on port 8090.
To make it more convenient to monitor the webmord, this service connected to the domain by reverse proxying to port 80 via NGINX (it is installed locally).

Registered a standard config

server {
    listen 80;
    server_name www.example.com example.com;

    location / {
       proxy_pass http://127.0.0.1:8090;
    }
}

61937d3a1730d257514593.png

With a local connection or external numbers - everything works perfectly.

6193758489685889052242.png

When connecting through a domain, the site opens and everything is visible, but if it turns out to add a torrent, then when viewing it, it is not working.

619375e985bca300396714.png

Do not judge strictly, only yesterday I learned about proxying.
We are studying.
It feels like something is missing somewhere.

61937e0b41ea4551955275.png

And if I download a torrent (on a computer) through a local ip: port or external ip: port, then the movie will start for me. I don't understand what is missing.
The problem is only with the domain part =(

PS
Apparently something is not working correctly, but if you open the torrent status and click the "Preload" button, the torrent comes to life.
6193dbd28ab39851258733.png
Thank you all!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question