bona
bona

Reputation: 45

CLoudflare page rules: force SSL except specified URL pattern?

Is it possible to force SSL with Cloudflare except specified URL pattern? for example: example.com/* forced to use SSL, but example.com/iframe use HTTP only, not HTTPS.

Upvotes: 2

Views: 715

Answers (1)

Jules
Jules

Reputation: 2019

If you are using Automatic HTTPS Rewrites within CloudFlare's Crypto section, yes. Create a Page Rule for example.com/iframe* where Automatic HTTPS Rewrites is off. See attached image for the Page Rule setting:

enter image description here

But you might be redirecting with Microsoft IIS or Apache. In that case, you must make the distinction there.

Upvotes: 6

Related Questions