<!--
	CDN buckets:

		- assets.freshdesk.com.s3.amazonaws.com
	cdn.freshdesk.com.s3.amazonaws.com

		- d3o14s01j0qbic.cloudfront.net

			- static
			- static[1-5]


	Nonfunctional subdomains:

		- (www.)	(no https)
		- blog		(shows default nginx_ssl page; mismatched, CN: freshdesk.com)

-->
<ruleset name="Freshdesk (partial)">

	<target host="*.freshdesk.com" />
		<exclusion pattern="^http://(?:blog|www)\." />


	<rule from="^http://assets\.freshdesk\.com/"
		to="https://assets.freshdesk.com/" />

	<rule from="^http://cdn\.freshdesk\.com/"
		to="https://s3.amazonaws.com/cdn.freshdesk.com/" />

	<rule from="^http://static[1-5]?\.freshdesk\.com/"
		to="https://d3o14s01j0qbic.cloudfront.net/" />

	<!--	Per-client subdomains:
					-->
	<rule from="^http://([\w-]+)\.freshdesk\.com/"
		to="https://$1.freshdesk.com/" />

</ruleset>
