CloudFlare 支持免费的 SSL


Cloudflare 是一款不错的CDN选择,最近CF已经支持上SSL了.默认都是开启的.

cloudflare-ssl-enabled CloudFlare 支持免费的 SSL 互联网 技术 折腾

cloudflare 支持 SSL

好吧, 支持并不是那么完美,因为代码里的CSS还是 http 所以不能被浏览器加载,所以页面就成这德性了.但起码浏览器还能显示是灰的HTTPS.

cloudflare-ssl-setup CloudFlare 支持免费的 SSL 互联网 技术 折腾

设置 cloudflare 支持 SSL

有几种设置,反正最基本的就是你的主机不需要SSL的支持,你就可以免费有SSL.免费的总有一种不安心的感觉,所以我还是暂时把这功能给关了.

cloudflare-ssl CloudFlare 支持免费的 SSL 互联网 技术 折腾

cloudflare 支持 SSL

关掉SSL功能之后, 如果你访问HTTPS,会自动转向到HTTP.(301转向)

HTTP/1.1 301 Moved Permanently
Server: cloudflare-nginx
Date: Sun, 19 Oct 2014 14:51:37 GMT
Content-Type: text/html
Content-Length: 189
Connection: keep-alive
Set-Cookie: __cfduid=da22dfa55b2fd9db707fcbb0b4e5de0951413730297783; expires=Mon, 23-Dec-2019 23:50:00 GMT; path=/; domain=.justyy.com; HttpOnly
Cache-Control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Expires: Thu, 01 Jan 1970 00:00:01 GMT
Location: https://justyy.com/
CF-RAY: 17bdcb79279e0a90-LHR
----URL Redirection to https://justyy.com/----
HTTP/1.1 200 OK
Date: Sun, 19 Oct 2014 14:51:38 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Set-Cookie: __cfduid=dee2f2d09a163abd0d9431c360efd43161413730297868; expires=Mon, 23-Dec-2019 23:50:00 GMT; path=/; domain=.justyy.com; HttpOnly
X-Powered-By: PHP/5.5.9-1ubuntu4.4
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Pragma: no-cache
X-CF-Powered-By: WP 1.3.14
X-Pingback: https://justyy.com/xmlrpc.php
Vary: Accept-Encoding
Server: cloudflare-nginx
CF-RAY: 17bdcb79a7e50a8a-LHR
Content-Encoding: gzip
GD Star Rating
loading...
本文一共 171 个汉字, 你数一下对不对.
CloudFlare 支持免费的 SSL. (AMP 移动加速版本)
上一篇: 在英国生孩子
下一篇: 我的办公环境

扫描二维码,分享本文到微信朋友圈
92d6f353e198f27699c7c6b515b13714 CloudFlare 支持免费的 SSL 互联网 技术 折腾

3 条评论

评论