Welcome! Log In Create A New Profile

Advanced

Re: Multiple server_name directives in same server block?

Francis Daly
December 21, 2019 05:26AM
On Fri, Dec 20, 2019 at 05:25:05PM -0800, Roger Fischer wrote:

Hi there,

> is it possible to have multiple server_name directives in the same server block?

A quick test shows that "nginx -t" does not object; and that the
server_name values are matched with the Host: header as expected.

So: yes.

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Multiple server_name directives in same server block?

roger_bc December 20, 2019 08:26PM

Re: Multiple server_name directives in same server block?

Francis Daly December 21, 2019 05:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 57
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready