The original post: /r/nginx by /u/ThornlessCactus on 2024-07-12 04:53:44.

Hi,

Is it possible to do the whole thing in just nginx? I know I can do it easily in nodejs or python or c/++., but I have a more contrived application written in some interpreted slow language that i would like to rewrite in C and work as a glue-code nginx module, but it would need to access multiple server blocks with different ports and protocols.

Thanks.

Edit: for clarity,

I want one browser webapp to send data by http and another browser webapp to receive the same data by websocket. My actual requirement is a fair bit more complex than this.