Nginx
还是搬砖踏实
这个作者很懒,什么都没留下…
展开
-
Linux下源码编译安装Nginx
操作系统:Centos下载源码包http://nginx.org/en/download.html解压# tar -zxvf nginx-1.12.2.tar.gz 编译安装# cd nginx-1.12.2指定安装路径及添加SSL模块功能# ./configure --prefix=/usr/local/nginx --with-http_ssl_modul...原创 2018-04-17 16:39:34 · 540 阅读 · 1 评论 -
Nginx 配置https强制跳转
Nginx http非默认端口强制跳转https配置以及默认端口Nginx http非默认端口强制跳转https配置以及默认端口http非默认端口强制跳转https配置http默认端口强制跳转https配置http非默认端口强制跳转https配置当需要使用非默认端口时,按如下配置即可,示例中端口号为8000server { listen ...原创 2018-04-26 15:09:26 · 3427 阅读 · 0 评论