安装nginx之后想添加mp4,flv支持,源码安装的需要重编译,通过apt-get install unbuntu安装的只需要执行如下 sudo apt-get install nginx-extras