Welcome! Log In Create A New Profile

Advanced

Filter installation for WebSocket protocol in Nginx.

July 22, 2017 11:10AM
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.
Pls advice.
Thanks,
Mohini.
Subject Author Posted

Filter installation for WebSocket protocol in Nginx.

mohini July 22, 2017 11:10AM

Re: Filter installation for WebSocket protocol in Nginx.

Maxim Dounin July 27, 2017 04:58AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 101
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready