add nginx install and log parsing