update to base on nginx directly