Reject ws connections


#1

Enonic version: 7.0.2
OS: Ubuntu 19

Not sure if a silly question but how do I reject ws connections?


#2

Not a silly question, just confusing. Where would you want to reject websocket connections? For requests done inside Content Studio? That would break a lot of functionality.

I’ve mostly come across questions on how to enable websockets on a server, which is usually done inside the webserver config files.


#4

Its for my own App and I think I’ve managed to reject connections from ws by checking the request and blocking http ones. But, is there a way to block websockets ws connections for a domain in the config?