Has anyone successfully gotten Nginx to forward-proxy to an Icecast
server running on the same machine? I am trying to set up an online
radio station with Icecast on my web server, but I need to tie it in
with my Nginx daemon that’s already running on Port 80 and
proxy-forwarding to Apache for web traffic, in order to accommodate
firewalls that only allow http traffic on Port 80. I only have 1 IP
address available on that machine, otherwise I’d just configure Icecast
to run directly on Port 80.
After hours of troubleshooting, I’m still not sure if it’s an Nginx
problem or an Icecast problem. I just made a detailed post at the
Icecast forms, including config files. Please see
Icecast Streaming Media Server :: View topic - Proxy-forwarding to Icecast with Nginx . The main symptom is that
I can listen to the stream at http://radio.my.tld:8000/my-mountpoint.mp3
just fine, but when I connect to http://radio.my.tld/my-mountpoint.mp3,
it starts to play for 2-3 seconds but then the connection mysteriously
stops.
Any ideas?
Thanks,
Curtis
Posted at Nginx Forum:
I just posted this on the Icecast forum as well:
Well, it turns out not to be an Icecast or Nginx problem after all.
I tried it with Muse instead of Icegenerator, as well as mucking around
with Nginx timeouts and proxy settings. Always the same problem.
Then it dawned on me that I had been trying it only with VLC as the
client media player. So I tried with Windows Media Player instead. Lo
and behold, it worked! It even worked when I put Icecast back to using
Icegenerator instead of Muse, and with periodic metadata updates.
So it’s a VLC problem. And an ongoing one, it appears. I upgraded my
Win32 client box to the latest stable VLC (0.9.4) and on my Gentoo
Linux/x86 box (0.9.10) and still the same problem with each.
Posted at Nginx Forum:
On Thu, Nov 12, 2009 at 11:18 AM, curtisdf [email protected] wrote:
So it’s a VLC problem. Â And an ongoing one, it appears. Â I upgraded my Win32 client box to the latest stable VLC (0.9.4) and on my Gentoo Linux/x86 box (0.9.10) and still the same problem with each.
I believe the latest stable VLC version is 1.0.3
Thanks for pointing that out. It’s weird. I did the Check for Updates
option in my VLC (was 0.8.6b) and it gave me 0.9.4 instead of 1.0.3.
Anyway I manually upgraded it to 1.0.3 and still the same problem. 
Posted at Nginx Forum: