O
O
Oleg Aksenov2018-08-02 12:26:27
linux
Oleg Aksenov, 2018-08-02 12:26:27

Updating nginx without stopping it?

Good afternoon, there is an infrastructure of 2 proxy servers with nginx, are you interested in the possibility of updating nginx without stopping it?
There are alternative solutions, but I would like to know a question or a direction in the right direction on this matter.
Thanks in advance for your replies.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
RidgeA, 2018-08-02
@Takun

nginx.org/ru/docs/control.html
or update - do you mean updating the version of the application (although it is there ....)?

H
hOtRush, 2018-08-02
@hOtRush

1. You raise two new servers, put a new nginix
on them 2. You switch dns, load balancers or whatever you have
3. You kill old servers

R
Ruslan Fedoseev, 2018-08-02
@martin74ua

service nginx restart - is this a deadly situation? well, you will be unavailable for a couple of seconds ...
yum update
apt-get update
apt-get upgrade
service nginx restart
and even that, the latter is not necessary - it will be restarted during the upgrade

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question