<!--
	Problematic subdomains:

		- ^	(cert only matches *.rockstargames.com)


	Partially covered subdomains:

		- (www.)	(some paths started redirecting to http)
		- socialclub	(at least the homepage & profile/$ redirect to http)

-->
<ruleset name="Rockstar Games (partial)">

	<target host="rockstargames.com" />
	<target host="*.rockstargames.com" />
		<exclusion pattern="^http://socialclub\.rockstargames\.com/(?!profile/support-signin-en\.html|registration/createaccount|signup)" />


	<securecookie host="^cdn\.sc\.rockstargames\.com$" name=".+" />


	<rule from="^https?://(?:www\.)?rockstargames\.com/(?!img/)(.+\.(?:css|gif|jpe?g|png))"
		to="https://www.rockstargames.com/$1" />

	<rule from="^http://(media|cdn\.sc|socialclub)\.rockstargames\.com/"
		to="https://$1.rockstargames.com/" />

	<rule from="^https?://support\.rockstargames\.com/generated/"
		to="https://assets.zendesk.com/generated/" />

</ruleset>
