Ubuntu 安装Nginx的APT源

使用apt安装nginx时,默认是Ubuntu自带的源,版本并不是最新的。

可以使用Ubuntu社区爱好者维护源,地址:https://launchpad.net/~nginx/+archive/ubuntu/stable

安装方法很简单:

sudo add-apt-repository ppa:nginx/stable
sudo apt-get update

然后安装nginx即可:

apt-get install nginx
原文地址:https://www.cnblogs.com/gao88/p/12006519.html