You will need an additional module that can be executed at the time of nginx compilation. To do this, you need to add the line below to your script configuration.
--add-module=/root/nginx_patched/nginx_tcp_proxy_module
Required if you want to enable sockets, for example for node.js socket.io. The full tutorial can be found here . Sorry for the link, but this is a pretty broad topic. You may need a walkthrough if you are starting from scratch.
Hope this helps.
source
share