随笔分类 -  Nginx

摘要:前言 当Nginx配置https后通常需要将用户http请求强制跳转到https,下面教你如何在默认端口以及非默认端口下配置nginx.conf http非默认端口强制跳转https配置 当需要使用非默认端口时,按如下配置即可,示例中端口号为8000 http默认端口强制跳转https配置 阅读全文
posted @ 2018-04-26 15:09 还是搬砖踏实 阅读(1567) 评论(0) 推荐(0)
摘要:操作系统:Centos 下载源码包 http://nginx.org/en/download.html 解压 编译安装 指定安装路径及添加SSL模块功能 可能出现的问题: ./configure: error: the HTTP rewrite module requires the PCRE li 阅读全文
posted @ 2018-04-17 16:40 还是搬砖踏实 阅读(258) 评论(0) 推荐(0)