Update nginx on the fly with a change of prefix

Sébastien Rebecchi srebecchi at kameleoon.com
Sun May 4 09:24:39 UTC 2025


Hi Sergey

Thank you for your answer.
When sending signal to the old master, doesn't it assume that the new
executable is located in the same location than the old one?

Sébastien.

Le sam. 3 mai 2025, 18:32, Sergey A. Osokin <osa at freebsd.org.ru> a écrit :

> Hi Sébastien,
> hope you're doing well.
>
> On Sat, May 03, 2025 at 06:14:19PM +0200, Sébastien Rebecchi via nginx
> wrote:
> >
> > Is there a way to update Nginx on the fly while new nginx was configured
> > with a different --prefix than was the old one?
>
> You may want following the "Upgrading Executable on the Fly" procedure,
> https://nginx.org/en/docs/control.html#upgrade.
>
> Please note:
> 1. the configuration files may need to be presented in both prefixed;
> 2. proper testing [in a lower environment] is required.
>
> Hope that helps.
>
> Thank you.
>
> --
> Sergey A. Osokin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20250504/9cd7cde8/attachment.htm>


More information about the nginx mailing list