map $host $tld { default $host; '~^www\.(?.*)$' $domain; }