update nginx_domain snprintf