Filter installation for WebSocket protocol in Nginx.

Maxim Dounin mdounin at
Thu Jul 27 08:56:40 UTC 2017


On Sat, Jul 22, 2017 at 11:10:02AM -0400, mohini wrote:

> I have an working nginx module (http_content_Modify_module) that acts as a
> proxy and manipulates some specific http data coming to the proxy before
> sending it to the upstream server.Used nginx1.6.2 for this and was
> implemented by installing filters in the "post-configuration" setup.
> Now I need to move from http to websocket protocol support. 
> By changing the configuration file to support "Upgrade" header,
> http_content_Modify_module  was able to talk to upstream webSocket server. 
> However I am not sure if nginx supports filter installation for websockets
> like it does for http so that I can manipulate/change data coming over the
> websocket
> before sending it to upstream.

No, it is not supported.

Maxim Dounin

More information about the nginx mailing list