I’m trying setup nginx for socket proxy. I was able to find that nginx
can
be configured to proxy websockets and added an error log file in the
server
configuration block to isolate the messages, and I get:
client sent invalid method while reading client request line, client:
XX.XX.XX.1, server: , request: ҁb▒▒"
The software that is I need to proxy is a remote assistant application
with
a web servlet running inside tomcat and with two client applications,
one
admin and one user, that connect to the server and communicate.
Is there anything that can be done to make it work?
The software that is I need to proxy is a remote assistant application with
a web servlet running inside tomcat and with two client applications, one
admin and one user, that connect to the server and communicate.
Is there anything that can be done to make it work?
The “websocket proxy” is something completely different from what
you are looking for. It’s to proxy the Websocket protocol
connections - that is, to proxy HTTP/1.1 requests with protocol
upgrade.
To proxy arbitrary stream sockets, use the stream module. See
here for details: