D
D
dostoevsky112021-09-10 05:15:25
System administration
dostoevsky11, 2021-09-10 05:15:25

Is it possible to use keep-alive without upstream?

Now I am developing a control panel for reverse proxy. The proxy is implemented on nginx.
I want to implement DNS so that the user himself can change the backend IP at any time, but I would also like nginx to keep an open connection with it and not close it, as it happens if you just specify ip in proxy_pass
Accordingly, upstream is not suitable for such a task.

Are there any options for implementing this idea?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
ky0, 2021-09-10
@ky0

If you allow the user to change the list of backends - why not just synchronize it with the list of upstreams in the nginx config?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question