Multiple server_name directives?

basti mailinglist at unix-solution.de
Thu Jul 25 10:09:48 UTC 2019


You can also use multiple names in one line.

http://nginx.org/en/docs/http/server_names.html

On 25.07.19 11:59, rainer at ultra-secure.de wrote:
> Hi,
> 
> 
> I found that using multiple
> 
> server_name bla;
> server_name blu;
> 
> directives seems to actually work.
> 
> At least in 1.12.
> 
> 
> Can someone from @nginx comment on whether using that is a good idea?
> Or is that deprecated already?
> 
> The documentation doesn't mention it.
> 
> 
> 
> Best Regards
> Rainer
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx


More information about the nginx mailing list