The original post: /r/nginx by /u/Successful_Beach1113 on 2024-07-03 13:01:02.

Hello all,

I am reaching out for some assistance with an NGINX Reverse Proxy I’m configuring.

I have two sites using this proxy, for reference’s sake they can be called:

music.mydomain.com

video.mydomain.com

Each website has a back-end server that’s doing the hosting and SSL Termination and each website listens on Port 443.

I followed this tutorial to setup the “stream” module: https://forum.howtoforge.com/threads/nginx-reverse-proxy-with-multiple-servers.83617/

I am able to successfully hit both of my sites but for whatever reason if I hit music.mydomain.com before video.mydomain.com, I always land on music.mydomain.com any time I go to video.mydomain.com.

If I hit video.mydomain.com first, I can hit music.mydomain.com just fine, but I can’t get back to video.mydomain.com because I’m always landing on music.mydomain.com

I’m happy to share my configuration, but am hopeful that the referenced tutorial article will shed some light on my setup.