LNMP环境配置SSL证书最简单教程
发布时间:2020-07-03 11:22:31 所属栏目:LNMP 来源:互联网
导读:现在腾讯提供免费的一年证书,地址:https://console.qcloud.com/sslnginx重定向 http 自动跳转 httpsserver{listen 80;server_name app.typecho.me;index index.html index.htm index.php;rewrite ^/(.*)$ https://plugins.typecho.me/$1 permanent;}配置ssl
现在腾讯提供免费的一年证书,地址: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; |