![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
nginx
a787031584
不乱于心,不困于情,如此,安好
展开
-
nginx之rewrite重写规则
参考文章: https://www.jianshu.com/p/e266f34329ca http://www.ttlsa.com/nginx/nginx-rewriting-rules-guide https://www.west.cn/docs/51508.html rewrite Nginx的rewrite功能需要PCRE软件的支持,即通过perl兼容正则表达式语句进行规则匹配的。...原创 2019-12-13 16:30:03 · 154 阅读 · 0 评论 -
nginx之location配置
参考文章: https://www.cnblogs.com/oskyhg/p/9323858.html http://www.ttlsa.com/nginx/nginx-location-configure/ nginx的url匹配模式很强大,同时使用非常灵活,尤其是优先级的匹配,如果不寻找规律,不但很难掌握,而且容易犯晕。了解优先级之前,先看看匹配的配置语法,以及都有那些匹配模式。...原创 2019-12-13 16:30:19 · 130 阅读 · 0 评论 -
nginx负载均衡之配置和策略
参考文章:http://www.cnblogs.com/oshine/p/3953259.html http://www.cnblogs.com/jacktang/p/3669115.html 准备工作:三台配置好的服务器(centos7.0 + mysql5.7 + php7.0 + nginx/1.10.3) 配置nginx.cong文件 [root@localhost原创 2017-03-22 19:00:38 · 311 阅读 · 0 评论 -
nginx配置https之兼容php文件以及ThinkPHP
参考文章:http://blog.csdn.net/rosekissyou/article/details/71104004 修改nginx.conf文件,修改后http{}部分内容为: server { listen 443; server_name 47.94.240.163; ssl on; root /data/wwwroot/default/x原创 2017-07-01 13:51:51 · 3030 阅读 · 0 评论 -
nginx之https配置
参考文章:http://blog.csdn.net/weixin_35884835/article/details/52588157 1.在配置https之前,请先确认是否已经安装openssl [root@localhost conf]# openssl version -a出现以下情况,则表示该openssl已经安装,且较为安全(bult在2014之后的) built on: Tue原创 2017-06-24 15:26:29 · 503 阅读 · 0 评论