add nginx and used as http server