Ubuntu安装最新Nginx(无脑操作)
2019-06-02 本文已影响0人
_飞鹰_
- 使用apt安装最新Nginx
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:nginx/stable
sudo apt-get updatesudo
apt-get install nginx
2.安装完成后配置文件所在位置
/etc/nginx

3.添加配置文件(参考这篇文章)
https://stackoverflow.com/questions/5009324/node-js-nginx-what-now?rq=1