<!--
	For problematic rules, see Gravity-mismatches.xml.


	blog.gravity.com is handled in WordPress-blogs.xml.


	CDN buckets:

		- cdn.insights.gravity.com.edgesuite.net
		- rma-api.gravity.com.edgesuite.net
		- i.api.grvcdn.com.edgesuite.net
		- b.grvcdn.com.edgesuite.net
		- i.grvcdn.com.edgesuite.net


	Nonfunctional domains:

		- graph.gravity.com	(refused)


	Problematic domains:

		- gravity.com subdomains:

			- ^		(cert only matches www)
			- blog		(wordpress)
			- insights	(mismatched, CN: analytics.gravity.com)
			- cdn.insights *
			- rma-api *
			- www		(expired 2013-02-02)

		- grvcdn.com subdomains:

			- i.api *
			- b *
			- i *

	* Akamai


	Fully covered domains:

		- gravity.com subdomains:

			- rma-api	(→ akamai)

		- grvcdn.com subdomains:

			- b	(→ b-ssl)
			- b-ssl

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

	<target host="*.gravity.com" />
	<target host="*.grvcdn.com" />


	<securecookie host="^(?:analytics)?\.gravity\.com$" name=".+" />


	<rule from="^http://(?:api\.gravity|i\.api\.grvcdn)\.com/"
		to="https://api.gravity.com/" />

	<rule from="^http://rma-api\.gravity\.com/"
		to="https://a248.e.akamai.net/f/1015/4323/4m/rma-api.gravity.com/" />

	<rule from="^http://(?:analytic|insight)s\.gravity\.com/"
		to="https://analytics.gravity.com/" />

	<rule from="^http://b(?:-ssl)?\.grvcdn\.com/"
		to="https://b-ssl.grvcdn.com/" />

</ruleset>
