How i can add alias in vhost?
In apache have this
In nginx
How i can add serveralias and server_name extra host?
I see domain pointer and is not what i'm looking for.
In apache have this
Code:
<VirtualHost *:80 >
ServerName www.domain.com
ServerAlias www.domain.com domain.com
</VirtualHost>
In nginx
Code:
server
{
listen *:80;
server_name domain.com www.domain.com ;
}
How i can add serveralias and server_name extra host?
Code:
ServerAlias www.domain.com domain.com a.domain.com b.domain.com
Code:
server_name domain.com www.domain.com a.domain.com b.domain.com;
I see domain pointer and is not what i'm looking for.