# Force Discourse to use SSL/HTTPS through CloudFlare

**URL:** <https://meta.discourse.org/t/force-discourse-to-use-ssl-https-through-cloudflare/49212>\
**Category:** Sysadmins\
**Tags:** how-to, cloudflare\
**Created:** [August 25, 2016, 7:24pm UTC](https://meta.discourse.org/t/force-discourse-to-use-ssl-https-through-cloudflare/49212 "2016-08-25T19:24:46Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Nelson](https://avatars.discourse-cdn.com/v4/letter/n/dec6dc/32.png) [@Nelson](https://meta.discourse.org/u/Nelson)\
**Post date:** [July 21, 2017, 8:10pm UTC](https://meta.discourse.org/t/force-discourse-to-use-ssl-https-through-cloudflare/49212/7 "2017-07-21T20:10:18Z")

</div>

The page rule is no longer necessary. You can switch on both forcing of https and rewriting http to https requests with a toggle 🕶

Both can be found on the crypto settings page.

![](https://global.discourse-cdn.com/meta/original/3X/1/4/146e9d03ccaf4ce34da405fc8a616d72b19039a3.jpeg)

And:

![](https://global.discourse-cdn.com/meta/original/3X/2/7/27189c7f154036d96fff90ab8e6ad48756e6eee9.jpeg)

---

_[View the full topic](https://meta.discourse.org/t/force-discourse-to-use-ssl-https-through-cloudflare/49212)._
