Deprecated - Setting SSL/TLS Mode using Page Rules

This tutorial is deprecated in favour of Encryption modes · Cloudflare SSL/TLS docs

Archive

If you require a different SSL mode for a subdomain, you can achieve this with page rules.

If, for example, you want SSL on your root domain (cloudflareexample.cf) set to Full (strict), but want the subdomain subdomain.cloudflareexample.cf to have SSL Off, you should set the SSL mode under SSL/TLS in your Cloudflare dashboard to Full (strict). You can then set the subdomain SSL mode to Off via a page rule.

SSL mode Full (strict):

Page rule to set subdomain SSL to ‘Off’

You can achieve something similar for directories or subpages of your site as well by changing the URL match in the page rule. See Using Wildcards in Page Rules for more information on page rule wildcards (the *)



Tutorial Reference: CT-13
Reviewed: 07/21

This is a Community Tutorial, most are wiki posts, so can be contributed to by Regulars and MVPs here. If there is a tutorial you would like to see, you can request one here.

If you would like to provide any feedback on this tutorial, please post in the #Meta category, tag your post #TutorialFeedback and let us know the Tutorial Reference above.

Other great resources on this community include the Community Tips . These address best practices when configuring Cloudflare, how to fix issues you may see, and tools to troubleshoot. Also you can view Expert Tips, great posts on the community from people in the know that may help you with your issue.

We encourage users to check out these great resources and the Cloudflare Support Centre before posting


5 Likes