Moved the assignment of nginx_flags