Answer the question
In order to leave comments, you need to log in
Permanent tunnel connection to the proxied server?
In general, such a situation.
There is nginx, which proxies some of the requests to my python server, which is spinning on a specific port.
When nginx accepts a connection from a client, nginx proxies data to my server (opens a connection, writes data to me, reads the response, and closes the connection).
So, how can I make it so that it does not close the connection to my server while the connection to the client is active?
This is necessary due to the fact that when opening and closing the connection there is some extra load, which is very undesirable.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question