Control Web Panel
WebPanel => SSL => Topic started by: Painkiller88 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
-
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};
}
-
thank you :)
-
Hi, Where should I put that configuration, could you tell me the steps, thanks :) :) :)