<!--

	CDN buckets:

		- akmedia-a.akamaihd.net

		- soundcloud.assistly.com

			- help.soundcloud.com

		- cs70.wac.edgecastcdn.net

			- a1.sndcdn.com
			- i1.sndcdn.com
			- w1.sndcdn.com

		- wpc.658D.edgecastcdn.net
		- m-a.sndcdn.com.edgesuite.net 
		- soundcloud.gettyimages.com

		- scbackstage.wpengine.netdna-cdn.com

			- ssl doesn't exist
			- backstage.soundcloud.com

		- soundcloud.wpengine.netdna-cdn.com

			- -ssl doesn't exist
			- blog.soundcloud.com

		- gs1.wpc.v2cdn.netcdn.net
		- gs1.wpc.v2cdn.net

			- ec-media.soundcloud.com

	Nonfunctional soundcloud.com subdomains:

		- help		(redirects to http, mismatched, CN: *.assistly.com)
		- m		(redirects to http)
		- media
		- status	(times out)


	Problematic domains:

		- m-a.sndcdn.com	(works, akamai)


	Partially covered domains:

		- backstage.soundcloud.com


	Fully covered domains:

		- sndcdn.com subdomains:

			- a[12]
			- api
			- i[1-4]
			- w[12]
			- wis

		- soundcloud.com subdomains:

			- (www.)
			- api
			- blog
			- connect
			- developers
			- ec-media
			- eventlogger
			- help-assets
			- media
			- visuals
			- w

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

	<target host="scbackstage.wpengine.netdna-cdn.com" />
	<target host="soundcloud.wpengine.netdna-cdn.com" />
	<target host="*.sndcdn.com" />
	<target host="soundcloud.com" />
	<target host="*.soundcloud.com" />
		<exclusion pattern="^https?://(?:scbackstage\.wpengine\.netdna-cdn|backstage\.soundcloud)\.com/(?!wp-content/)" />


	<rule from="^http://([aiw]\d|api|wis)\.sndcdn\.com/"
		to="https://$1.sndcdn.com/" />

	<rule from="^http://((?:api|backstage|blog|connect|developers|ec-media|eventlogger|help-assets|media|visuals|w|www)\.|)soundcloud\.com/"
		to="https://$1soundcloud.com/" />

	<rule from="^https?://scbackstage\.wpengine\.netdna-cdn\.com/"
		to="https://backstage.soundcloud.com/" />

	<rule from="^https?://soundcloud\.wpengine\.netdna-cdn\.com/"
		to="https://blog.soundcloud.com/" />

</ruleset>
