Control Web Panel
WebPanel => SSL => Topic started by: Gianni Marinho on March 03, 2022, 07:13:44 PM
-
how to use SSL on shoutcast ports?
I access my server normally through https://servidor.giannimarinho.com:2031 but I can't access the shoutcast ports with my hostname and SSL. example: https://servidor.giannimarinho.com:15000
support told me that i have to release port 15000 in the CWP firewall but it doesn't work even with the firewall turned off.
how do i add a port range in the CWP firewall?
example: ports 15000 to 16000
can anyone help me?
-
Use Nginx as a proxy:
server {
listen <sh ip>:<a port for ssl> ssl;
server_name <radio.yoururl>
ssl_certificate <certificate file>;
ssl_certificate_key <certificate 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://<sh_ip>:<sh_port>;
}
}
Apache can also act as a proxy with mod_proxy, but I've never set it up. https://www.digitalocean.com/community/tutorials/how-to-use-apache-http-server-as-reverse-proxy-using-mod_proxy-extension
-
hi, Where should I put that configuration, could you tell me the steps, thanks :D :D :D