Author Topic: How to secure my shoutcast server/streams with https  (Read 4793 times)

0 Members and 1 Guest are viewing this topic.

Offline
**
How to secure my shoutcast server/streams with https
« on: April 07, 2022, 03:03:44 PM »
hi,

i am using nginx and i installed shoucast v2 plugin but it is http only and i don't know how to secure it as a https connection as it is not showing up as a seperate url or something.

how can i make my shoutcast using https and where to implement it in the nginx.conf.

you could maybe implement this as a default option in a future version.

thanks

Offline
****
Re: How to secure my shoutcast server/streams with https
« Reply #1 on: April 08, 2022, 01:17:13 AM »
Example Config:

server {

    listen {radio ip or any ip}:{Port for sll} ssl;
    server_name {radio.whateverdomain.you.want, or comment out}
    ssl_certificate {full chain certificate};
    ssl_certificate_key {certificat 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;


    location / {

            proxy_set_header Host $http_host;
            proxy_set_header X-NginX-Proxy true;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

            proxy_pass http://{radio ip}:{radio port};
    }
Google Hangouts:  rcschaff82@gmail.com

Offline
**
Re: How to secure my shoutcast server/streams with https
« Reply #2 on: April 09, 2022, 08:03:39 AM »
thank you  :)

Offline
*
Re: How to secure my shoutcast server/streams with https
« Reply #3 on: November 01, 2022, 03:55:02 PM »
Hi, Where should I put that configuration, could you tell me the steps, thanks :) :) :)