进入以后,首先更新 apt-get update
1.apt install nginx
2.修改nginx配置
vim /etc/nginx/sites-enabled/default

3.nginx -t
4.service nginx reload
进入以后,首先更新 apt-get update
1.apt install nginx
2.修改nginx配置
vim /etc/nginx/sites-enabled/default

3.nginx -t
4.service nginx reload
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。