Removed *. from the js and resources regexps in nginx_generator.