Adjusted nginx config template, to redirect to the canonical hostname if host is marked as a default