@
ShinoSaki @
davidyin @
xgowex 贴上现在我的 nginx 配置文件部分
server {
listen 443 ssl;
ssl on;
ssl_certificate /root/ssl.crt;
ssl_certificate_key /root/ssl.key;
server_name
www.wujunze.com wujunze.com;
if ($host = '
www.wujunze.com' ) {
rewrite ^/(.*)$
https://wujunze.com/$1 permanent;
}
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers ALL:!ADH:!EXPORT56:!RC4+RSA:+HIGH:+MEDIUM:+EXP;
ssl_prefer_server_ciphers on;
index index.html index.htm index.php default.html default.htm default.php;
root /home/wwwroot/
www.wujunze.com;
include typecho.conf;
#error_page 404 /404.html;