Welcome! Log In Create A New Profile

Advanced

Re: How can I sync nginx.conf in two keepalived server?

Jason Anderson via nginx
January 30, 2024 09:14AM
This may help:

https://docs.nginx.com/nginx/admin-guide/high-availability/configuration-sharing/

Regards,

Jason

On Tue, Jan 30, 2024, 9:04 AM baalchina <baalchina@gmail.com> wrote:

> Hi, all. I had just deploy two nginx servers and made them high-available
> using keepalived. I tested it, and HA works fine.
>
> But I had some new questions here:
> 1st, When I edited the nginx.conf in master server, how to transfer the
> conf file to backup server immediately?
> 2nd, And after I edited , I should run 'nginx -s reload' in the master
> server, how can backup server do the same without manual run?
> And last, if the config is not correct, after the file transferred to
> backup, the backup server can not restart correct, will the backup goes
> down?
>
> Thanks.
>
>
> --
> from:baalchina
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> https://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How can I sync nginx.conf in two keepalived server?

baalchina January 30, 2024 09:06AM

Re: How can I sync nginx.conf in two keepalived server?

Jason Anderson via nginx January 30, 2024 09:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 211
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready