Nginx配置SSL

Nginx配置SSL

server {
    listen       443 ssl;
    server_name  package.cqscrb.top;

    ssl_certificate /etc/nginx/cert/4312497_xxxxx.pem;
    ssl_certificate_key /etc/nginx/cert/4312497_yyyyy.key;

    ssl_session_cache    shared:SSL:1m;
    ssl_session_timeout  5m;

    ssl_ciphers  HIGH:!aNULL:!MD5;
    ssl_prefer_server_ciphers  on;

    location / {
      proxy_pass http://127.0.0.1:9999;
   }
}

hmoban主题是根据ripro二开的主题,极致后台体验,无插件,集成会员系统
自学咖网 » Nginx配置SSL