I was wondering if I could get some help. I’m trying to use Nginx as a reverse proxy for an audio streaming server called Icecast.
Just to explain my setup, I have a server with 2 IPv4 addresses and 1 IPv6. Icecast binds to both an IPv4 and v6 address on port 8000. Nginx is set to listen on port 80 of those same addresses.
The problem is that I receive a 502 bad gateway error when accessing the domain. I think the issue has something to do with the fact that Icecast doesn’t bind to all of the IP addresses that are available on the server, but that’s just a guess.
I’ve uploaded a copy of my Nginx configuration.
I was hoping one of you may have an idea about what might be misconfigured.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!