Reverse proxy only works on localhost
May 10, 2022 09:19AM
Hello,

First excuse me if my english is not good, I am french.

I am installing a reverse proxy with nginx for Windows and Let's Encrypt.

The software I want to put behind the proxy is TVMosaic, I use it to watch tv.

I can watch tv if I connect to TVMosaic through nginx reverse proxy on localhost.
I can connect to TVMosaic through nginx reverse proxy on another computer on my local network or from my android phone but I can't watch tv,
streaming does not work.

Here is my nginx configuration :

I have added this line to nginx.conf :
>>
include "C:/nginx-1.21.6/conf/sites-available/tvmosaic.conf";


I have created the file tvmosaic.conf in sites-available subfolder with this content :
>>
server {
listen 9670 ssl;

server_name xxxx.xx.net;

ssl_certificate C:/nginx-1.21.6/ssl/letsencrypt/cert.pem;

ssl_certificate_key C:/nginx-1.21.6/ssl/letsencrypt/cert.key;

ssl_session_cache builtin:1000 shared:SSL:10m;

ssl_protocols TLSv1 TLSv1.1 TLSv1.2;

ssl_ciphers HIGH:!aNULL:!eNULL:!EXPORT:!CAMELLIA:!DES:!MD5:!PSK:!RC4;

ssl_prefer_server_ciphers on;

access_log C:/nginx-1.21.6/conf/access.log;

location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://192.168.1.30:9270;
proxy_read_timeout 90;
}
}



I am new to nginx and I don't know what to do.

Help would be appreciated :)
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 198
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready