<!--
	CDN buckets:

		- d16jfyletng9p5.cloudfront.net

			- media
			- media[1-4]


	Problematic subdomains:

		- media ¹
		- media[1-4] ¹
		- media[6-9] ²
		- media\d\d+ ²
		- www		(refused)

	¹ cloudfront
	² Cert only matches ^giphy.com 

-->
<ruleset name="Giphy.com">

	<target host="giphy.com" />
	<target host="*.giphy.com" />


	<rule from="^http://(?:www\.)?giphy\.com/"
		to="https://giphy.com/" />

	<rule from="^http://media\d*\.giphy\.com/"
		to="https://d16jfyletng9p5.cloudfront.net/" />

</ruleset>
