What's the Nginx equivalent of Apache's ServerAlias in this example:
[code]
<VirtualHost IP:80>
ServerAdmin info@domain.ba
DocumentRoot /var/www/server/roundcube/
ServerName webmail.server.domain.com
ServerAlias webmail.*
<Directory /var/www/server/roundcube/>
Options -Indexes Includes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
[/code]
This is how I enable webmail access for each domain on the server with following URL http://webmail.domain.com/
Edited 1 time(s). Last edit at 05/18/2010 05:16AM by grungy.