关于nginx的https环境搭建

2018-08-30  本文已影响0人  lyhwbt

https://common-buy.aliyun.com/?spm=5176.7968328.1120760.1.10341232phOVIJ&commodityCode=cas#/buy

选择:Symantec

image.png

付款成功后点击补全信息:

13163265-15128d6409f94239.png

信息填写完成后进行下面操作(前一张图片中的证书状态从 “待完成” 变为 “审核中”)

(前一张图片中的状态从 “补全” 变为 “进度” 点击进度进入下张图页面)


image.png

等待审核,审核结束后点击下载,进行服务器配置

https://yundun.console.aliyun.com/?spm=5176.2020520163.aliyun_sidebar.aliyun_sidebar_cas.47632b7afbS2Wr&p=cas#/cas/download/214957272800117?regionId=

image.png
对于https失效问题解决
https://blog.csdn.net/jinx_leeten/article/details/51769154

nginx下的配置
location ~ .*.(php|php5)?{ root /usr/local/nginx-1.5.1/html/; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param HTTPS on; fastcgi_param SCRIPT_FILENAMEdocument_root$fastcgi_script_name;
include fastcgi_params;
#new line
include fastcgi.conf;
}

上一篇下一篇

猜你喜欢

热点阅读