LNMP环境配置SSL证书最简单教程
发布时间:2020-12-13 22:00:07 所属栏目:LNMP 来源:网络整理
导读:现在腾讯提供免费的一年证书,地址:https://console.qcloud.com/ssl nginx重定向 http 自动跳转 https server { listen 80; server_name app.typecho.me; index index.html index.htm index.php; rewrite ^/(.*)$ https://plugins.typecho.me/$1 permanent;
现在腾讯提供免费的一年证书,地址:https://console.qcloud.com/ssl nginx重定向 http 自动跳转 https server { listen 80; server_name app.typecho.me; index index.html index.htm index.php; rewrite ^/(.*)$ https://plugins.typecho.me/$1 permanent; } 配置ssl证书: server { listen 443; #listen [::]:80; server_name app.typecho.me; index index.html index.htm index.php; root /app; |