摘要: 一:配置 default.conf server { listen 80; server_name localhost; charset utf-8; #access_log /var/log/nginx/host.access.log main; location / { #root /usr/s 阅读全文
posted @ 2021-08-18 18:06 老头还我葵花宝典 阅读(554) 评论(0) 推荐(0) 编辑
摘要: CentOS 7 配置 Nginx 的步骤如下: 首先更新 yum,没有安装 yum 的自行安装 yum update 1. 安装 Nginx yum install nginx 开启 Nginx 并设置开机启动 systemctl start nginx systemctl enable ngin 阅读全文
posted @ 2021-08-18 18:00 老头还我葵花宝典 阅读(981) 评论(0) 推荐(0) 编辑
摘要: Nginx 安装与配置 Nginx 概述 什么是Nginx Nginx (engine x) 是一个高性能的HTTP和反向代理web服务器,同时也提供了IMAP/POP3/SMTP服务。Nginx是由伊戈尔·赛索耶夫为俄罗斯访问量第二的Rambler.ru站点(俄文:Рамблер)开发的,第一个公 阅读全文
posted @ 2021-08-18 17:56 老头还我葵花宝典 阅读(46) 评论(0) 推荐(0) 编辑