redbird icon indicating copy to clipboard operation
redbird copied to clipboard

Using redbird to block ws:// requests to simulate a corporate firewall?

Open jrnail23 opened this issue 7 years ago • 1 comments

Hi, I'm trying to test our site's behavior when webSockets are blocked by a corporate firewall (a few of our major customers do this), and looking for a quick, simple way to block ws:// requests. I was thinking I'd just want to return a 502 for those. Is this possible via redbird?

jrnail23 avatar Jul 12 '18 03:07 jrnail23

I am sure you could point your ws path to a node app that returns a 502 every time

pcnate avatar Nov 04 '18 03:11 pcnate