can multiple domain points a single nginx host with server_name ?

Joydeep Bakshi joydeep.bakshi at
Mon Apr 28 11:43:57 UTC 2014

Hello list,

I am in a process to configure nginx infront of apache. For vhost having
single domain like & ; there is no issue to
configure by server_name directive.

But what to do where multiple domain points to a single apache vhost using
apache server_alias directive ? Can nginx server_name simply points all
those domains to the required vhost of apache ?


nginx  [ server_name  ]

equivalent to

apache  [
serveralias ]


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list