
<!--
Disabled by https-everywhere-checker because:
Fetch error: http://dracokraft.enjin.com/ => https://dracokraft.enjin.com/: Too many redirects while fetching 'https://dracokraft.enjin.com/'

	CDN buckets:
		- s3.amazonaws.com/files.enjin.com/

		- d2umfjgc9kwn9b.cloudfront.net
			- assets-cloud.enjin.com
-->
<ruleset name="Enjin" platform="mixedcontent" default_off='failed ruleset test'>
	<target host="enjin.com" />
	<target host="*.enjin.com" />
	<target host="resources.guild-hosting.net" />
	
	<test url="http://www.enjin.com/" />
	<test url="http://assets-cloud.enjin.com/" />
	<test url="http://support.enjin.com/" />
	<test url="http://files.enjin.com/" />
	<test url="http://townywarriorsmc.enjin.com/" />
	<test url="http://www.townywarriorsmc.enjin.com/" />
	<test url="http://dracokraft.enjin.com/" />
	<test url="http://www.dracokraft.enjin.com/" />

	<!--	Guild subdomains set wildcard cookies. In
		order to secure them, we'd have to target
		each and every guild's subdomain...
							-->
	<securecookie host="^(?:.*\.)?enjin\.com$" name=".+" />

	<rule from="^http://assets-cloud\.enjin\.com/"
		to="https://d2umfjgc9kwn9b.cloudfront.net/" />

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

	<!--	Guilds have unique subdomains.
						-->
	<rule from="^http://(www\.)?([\w-]+\.)?enjin\.com/"
		to="https://$2enjin.com/" />

	<!--	CN: *.enjin.com
				-->
	<rule from="^http://resources\.guild-hosting\.net/"
		to="https://resources.enjin.com/" />
</ruleset>
