<!--
	CDN buckets:

		- rewrelic.statuspage.io

			- status

		- newrelic.wpengine.com

			- blog


	Problematic subdomains:

		- status	(mismatched, CN: *.statuspage.io)


	Partially covered subdomains:

		- blog		($ redirects to http)

-->
<ruleset name="New Relic (partial)">

	<target host="newrelic.com" />
	<target host="*.newrelic.com" />
		<exclusion pattern="^http://blog\.newrelic\.com/(?!wp-(?:admin(?:$|[?/])|content/|includes/|login\.php))" />
		<exclusion pattern="^http://blog-assets\.newrelic\.com/.*" />


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


	<rule from="^http://status\.newrelic\.com/"
		to="https://newrelic.statuspage.io/" />

	<!--	Encountered subdomains:

			- beacon
			- beacon-[1-4]
			- js-agent
			- rpm
			- rpm-images
			- rpm-instart
			- staging
			- staging-beacon-1
			- support

				- hosted on Zendesk, but cert matches.

			- www
				-->
	<rule from="^http://([\w-]+\.)?newrelic\.com/"
		to="https://$1newrelic.com/" />

</ruleset>
