Nginx configuration for multiple domains

Hi,

need help with configuring multiple domains (aaa.net, aaa.org, aaa.com)
that are hosted on the same IP using nginx.

I could do it for one domain aaa.com using

server_name .aaa.com wwww.aaa.*;

How do I do it for aaa.net and for aaa.org ?

regards,
Ashutosh