文章分类 -  nginx

摘要:server { listen 80; server_name www.tp5.com; #charset koi8-r; #access_log logs/host.access.log main; root "d:/myenv/web/thinkphp_5.0.20_cms/public"; location / { ... 阅读全文
posted @ 2019-01-12 16:01 梦缘&江南~ 阅读(124) 评论(0) 推荐(0)
摘要:server { listen 80; server_name www.tp3.2.3.com; error_page 404 /404.html; error_page 500 502 503 504 /50x.html; # \.php 只处理动态请求,对于静态资源请求由下面的 location匹配和处理 location ~ \.php ... 阅读全文
posted @ 2019-01-12 15:37 梦缘&江南~ 阅读(2131) 评论(0) 推荐(0)
摘要:环境:centos7.2_64_nginx1.6.2 1. 阿里云 产品/安全/SSL证书(https://www.aliyun.com/product/cas?spm=5176.7968328.1146454.1115.6e561232ObuXxR) 2. 先选立即购买,如果已有证书,可选择 SS 阅读全文
posted @ 2018-12-05 15:12 梦缘&江南~ 阅读(394) 评论(0) 推荐(0)
摘要:环境:centos7.2_64 1. 跳转目录到 /usr/local/src,安装依赖扩展 进入目录到 /usr/local/src[root@centos7 ~]# cd /usr/local/src 安装依赖扩展[root@centos7 src]# yum -y install libxml 阅读全文
posted @ 2018-12-05 11:43 梦缘&江南~ 阅读(115) 评论(0) 推荐(0)
摘要:安装环境:Centos7.2_64 1. 进入目录到 /usr/local/src 2. 安装编译工具及库文件 3. 首先要安装 PCRE PCRE 作用是让 Nginx 支持 Rewrite 功能。 4. 下载后,将文件解压,并进入文件 编译安装 解压安装包[root@centos7 src]# 阅读全文
posted @ 2018-12-04 16:41 梦缘&江南~ 阅读(118) 评论(0) 推荐(0)
摘要:nginx安装 阅读全文
posted @ 2018-12-02 11:35 梦缘&江南~ 阅读(229) 评论(0) 推荐(0)