Nginx(yum安装使用)

78 阅读1分钟

安装

yum -y install nginx # 安装
systemctl start nginx # 启动

文件配置路径

/etc/nginx/conf.d nginx  # 配置文件路径
/usr/share/nginx/html  # 前端文件存放路径