Nginx: Remember real site name in $main_site_name and MAIN_SITE_NAME.
Nginx: Simplify imagecache/styles support.
Issue #2358977 by mrP - [nginx] Aegir redirection to non-install url leads to sites/$server_name/files 404 errors.