A few other tips for using CloudFlare in front of Trellis:
- Set up page rules to bypass CloudFlare caching (if you’re using it) with a rule that looks something like this:
- If there are existing links in the wild with the www. subdomain, you may need a page rule to rewrite since it will get caught by CloudFlare before Trellis can redirect:
- If you have some subdomains that can’t use https, you can set CloudFlare SSL to Flex and add a page rule to force the root domain to use Strict SSL:
- Check out their WP Plugin - Cloudflare – WordPress plugin | WordPress.org - though I recall the “Automatic Cache Management” feature to be somewhat problematic, so I don’t use that