Nginx 配置证书

BBigSun 评论221阅读模式

配置文件:

server{
    listen 443;
    server_name www.bbigsun.com

    ssl on;
    # 证书内容 .pem 文件
    ssl_certificate /nginx/conf/ssl/bbigsun.com.pem;
    # 私钥 .key 文件
    ssl_certificat_key /nginx/conf/ssl/bbigsun.com.key;
    ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
    ssl_ciphers HIGH:!aNULL:!MD5:!DH;
    ssl_prefer_server_ciphers on;
    client_max_body_size 100m;
}
文章源自十年又十年-https://www.bbigsun.com/218.html文章源自十年又十年-https://www.bbigsun.com/218.html

纸上得来终觉浅,绝知此事要躬行。

weinxin
17688689121
我的微信
微信扫一扫
Nginx最后更新:2024-5-11
BBigSun
  • 本文由 BBigSun 发表于 2023年 2月 10日 14:55:13
  • 转载请务必保留本文链接:https://www.bbigsun.com/218.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定