fix(router): is not required to escape gzipTypes, use a channel to wait for nginx.