<!--
	For other Reddit coverage, see Reddit.xml.


	CDN buckets:

		- s3.amazonaws.com/(\w\.)?thumbs.redditmedia.com/


	Fully covered hosts:

		- (www.)?
		- pixel
		- thumbs	(→ s3.amazonaws.com)

		- *.thumbs:

			- a
			- b
			- f


	Insecure cookies are set for these domains:

		- .redditmedia.com

-->
<ruleset name="Reddit media.com">

	<!--	Direct rewrites:
				-->
	<target host="redditmedia.com" />
	<target host="pixel.redditmedia.com" />
	<target host="*.thumbs.redditmedia.com" />
	<target host="www.redditmedia.com" />

	<!--	Complications:
				-->
	<target host="thumbs.redditmedia.com" />

	<!--	Not secured by server:
					-->
	<!--securecookie host="^\.redditmedia\.com$" name="^(__cfduid|cf_clearance)$" /-->

	<securecookie host="^\.redditmedia\.com$" name=".+" />


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

	<rule from="^http:"
		to="https:" />

</ruleset>
