官方正式启用 https

axiuno 7月前 2025

https 能显著提高网络数据传输的安全性,保护用户的数据和隐私。此次我们采用的 Synmantec SSL 免费证书。希望能带给大家更好的用户体验。


Xiuno BBS 4.0 不绑定 URL,启用 ssl 不需要做任何修改,只需要设置好 nginx 即可。以下 nginx 设置供参考:

server {  
        listen  80;  
        server_name bbs.xiuno.com;  
        rewrite ^(.*)$  https://$host$1 permanent;  
} 

server {
        listen       443 ssl;
        server_name bbs.xiuno.com;
        ssl on;
        ssl_certificate      cert/bbs.xiuno.com.pem;
        ssl_certificate_key  cert/bbs.xiuno.com.key;
        ssl_session_cache    shared:SSL:1m;
        ssl_session_timeout  5m;
        ssl_ciphers  HIGH:!aNULL:!MD5;
        ssl_prefer_server_ciphers  on;
        index index.html index.htm index.php;
        root  /home/xxxxxx;
        access_log  /home/xxxxx.log;
         ....
}


这样将所有的 http://bbs.xiuno.com/xxxx.htm 转发到了 https://bbs.xiuno.com/xxx.htm

最新回复 (9)
返回
发新帖
HTTP/1.1 502 Bad Gateway Content-Type: text/html Connection: close Content-Length: 332 Date: Mon, 26 Feb 2018 03:06:36 GMT X-Via: 1.1 3.75.45.59.broad.bx.ln.dynamic.163data.com.cn (random:439440 Fikker/Webcache/3.7.4) 502 Bad Gateway

502 Bad Gateway - Cann't Connect To Upstream Server By SSL Read

Server: 3.75.45.59.broad.bx.ln.dynamic.163data.com.cn
Date: 2018-02-26 03:06:36

Fikker/Webcache/3.7.4