View Single Post
Old 10th December 2019, 09:14   #15
Klaas
Senior Member
 
Join Date: Sep 2018
Posts: 121
Just to give you an example how to configure Caddy with the Caddyfile:

Quote:
radio.isn.fm {
log /var/log/caddy/radio.isn.fm.log
proxy / http://<ServerIP>:8003 {
without /
transparent
}

tls {
dns cloudflare
protocols tls1.0 tls1.3
}
}
tls 1.0 is disabled by default. However older wifi radio devices don't support newer TLS versions. If you remove the "dns cloudflare" Caddy will just try to do a http authentication for Let's Encrypt. Of course you can hook other supported providers or custom scripts to caddy.

If you want to hide your plain http stream you can use the following:

Quote:
http://radio.isn.fm {
log /var/log/caddy/radio.isn.fm.log

proxy / http://<ServerIP>:8003 {
without /
transparent
}
}
Klaas is offline   Reply With Quote