Despite my extensive research on websockets and reverse proxies, I have yet to find a satisfactory solution or answer.
I am interested in using websockets alongside my webserver on the same port (80 or 443). Is it possible to make this work with IIS? I am aware of changes made after IIS 8, but what about previous versions, and how can I configure it in IIS 8?
Each server I set up may have a different URL or be accessed through a proxy. Can I configure my javascript client to always connect to the websocket server no matter what? I know I could try something like:
var url = ws://" + window.location.hostname + ":12345";
But will this approach still work if there is a proxy involved?
Thank you!