1. The problem I’m having:
I am trying to stream to an Icecast2 Server via a Caddy reverse proxy. For some reason, the stream is interrupted every 10 seconds and the streaming client has to reconnect. I have connected to the Icecast server without the reverse proxy and the drop does not happen, so I believe that the issue is with Caddy. Are there any kind of timeouts that would be causing this?
2. Error messages and/or full log output:
No errors that I have found. At this time, no error log file has been created.
3. Caddy version:
Version is 2.6.4
4. How I installed and ran Caddy:
Installed Caddy per the official guidelines.
a. System environment:
Running the system on Debian 11
b. Command:
No commands being used in the issue.
d. My complete Caddy config:
# The Caddyfile is an easy way to configure your Caddy web server.
#
# Unless the file starts with a global options block, the first
# uncommented line is always the address of your site.
#
# To use your own domain name (with automatic HTTPS), first make
# sure your domain's A/AAAA DNS records are properly pointed to
# this machine's public IP, then replace ":80" below with your
# domain name.
#:80 {
# Set this path to your site's directory.
#root * /usr/share/caddy
# Enable the static file server.
#file_server
# Another common task is to set up a reverse proxy:
# reverse_proxy localhost:8080
# Or serve a PHP site through php-fpm:
# php_fastcgi localhost:9000
#}
live.christianradiostreaming.org {
reverse_proxy localhost:8000 {
flush_interval -1
}
}
old.christianradiostreaming.org {
reverse_proxy 74.50.119.136:8000
}
test.stationairtime.com {
rewrite / /automation/login.php
reverse_proxy 192.168.135.63:80 {
header_up host "test.stationairtime.com"
}
}
stationairtime.com {
reverse_proxy 192.168.135.63:80
header {
Cache-Control "no-cache, no-store, must-revalidate"
Pragma "no-cache"
Expires 0
}
}
www.stationairtime.com {
reverse_proxy 192.168.135.63:80
header {
Cache-Control "no-cache, no-store, must-revalidate"
Pragma "no-cache"
Expires 0
}
}
# Refer to the Caddy docs for more information:
# https://caddyserver.com/docs/caddyfile
5. Links to relevant resources:
None