<!--
	CDN buckets:

		- civicscience-css.s3.amazonaws.com
		- civicscience.squarespace.com


	Problematic domains:

		- blog.civicscience.com		(mismatched, CN: *.squarespace.com)
		- www.civicscienceinc.com	(works; mismatched, CN: *.gridserver.com)


	Partially covered subdomains:

		- blog.civicscience.com		(pages redirect to http)

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

	<target host="civicscience.com" />
	<target host="beta.civicscience.com" />
	<target host="www.civicscience.com" />
	<target host="blog.civicscience.com" />


	<rule from="^http://(beta\.|www\.)?civicscience\.com/"
		to="https://$1civicscience.com/" />

	<rule from="^http://blog\.civicscience\.com/(display/|favicon\.ico|layout/|storage/|universal/)"
		to="https://civicscience.squarespace.com/$1" />

</ruleset>
