Welcome! Log In Create A New Profile

Advanced

multiple listen directives

Axel
September 16, 2013 08:12AM
Hi all,

I want to build an active/active cluster and therefore configure nginx
to listen on multiple IP adresses.

I read http://nginx.org/en/doc/http/ngx_http_core_module.html#listen
but found no information if I can use multiple listen directives for ssl
without activating the interface.

Can I configure it like this? And are there any problems I will need to
think of?

Server A: 192.168.178.20
Server B: 192.168.178.30
Server C: 192.168.178.40


server {
listen 192.168.178.20:443 ssl;
listen 192.168.178.30:443 ssl;
listen 192.168.178.40:443 ssl;
server_name my.example.com;
....
....
}

Regards, Axel

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

multiple listen directives

Axel September 16, 2013 08:12AM

Re: multiple listen directives

Igor Sysoev September 16, 2013 08:18AM

Re: multiple listen directives

Axel September 16, 2013 09:16AM

Re: multiple listen directives

Maxim Dounin September 16, 2013 09:46AM

Re: multiple listen directives

Axel September 16, 2013 02:40PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 105
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 254 on July 05, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready