View Single Post
Old 15th May 2022, 13:40   #5
Junior Member
Join Date: May 2022
Posts: 4
Originally Posted by HG2S View Post
Are there Nginx configs for the streamer(s) domain(s)? For example,
I've changed the streampath_1 in sc_serv.conf:

Then I've created a server block and this is the server block config file contents:
server {
listen myipaddress:80;

root serverblockfolder/html;

index index.html index.htm index.nginx-debian.html;

location / {
try_files $uri $uri/ =404;

location /stream {
proxy_pass http://myipaddress:8000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header X-Forwarded-Protocol $scheme;
access_log logfolder/stream.log;

Now when I open this address:

I get this error in console(in error "Unknown_IP_was_here" is an IP that I don't know. it's not my adsl IP address or my server IP address):
[DST Unknown_IP_was_here:45702 (xff) sid=1] HTTP client connection rejected. Stream not available as there is no source connected. Agent: `Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36'

Please tell me what's wrong and how can I access the Shoutcast admin area.
Sadegh is offline   Reply With Quote