Split-server{ } subdomains.

Nuno Magalhães nunomagalhaes at eu.ipp.pt
Wed Sep 9 01:40:51 MSD 2009


Hi,

Can i have:

server{
listen 80;
server_name domain.com www.domain.com;
root /dir1;
}
server{
listen 80;
server_name sub.domain.com;
root /dir2;
}

Without adding an A-record for sub.domain.com's DNS?

TIA,
Nuno

-- 
()  ascii-rubanda kampajno - kontraŭ html-a retpoŝto
/\  ascii ribbon campaign - against html e-mail





More information about the nginx mailing list