<!--
	CDN buckets:

		- cdns.gigya.com.edgekey.net
		- cdn.gigya.com.edgesuite.net


	Nonfunctional subdomains:

		- blog
		- developers	(at least some pages & files redirect to http, CN: *.mindtouch.us)
		- info		(/ redirects to app-f.marketo.com, other paths 404; CN: *.marketo.com)


	Problematic subdomains:

		- cdn	(akamai)

-->
<ruleset name="Gigya (partial)" platform="mixedcontent">

	<target host="gigya.com" />
	<target host="*.gigya.com" />
		<exclusion pattern="^http://(?:www\.)?gigya\.com/(?:careers/|company/?|contact-us/|media-coverage/|press-room/|privacy-board/|social-media-resources/)$" />


	<rule from="^http://((?:counters|origin|www)\.)?gigya\.com/"
		to="https://$1gigya.com/" />

	<rule from="^https://(www\.)?gigya\.com/(careers/|company/?|contact-us/|media-coverage/|press-room/|privacy-board/|social-media-resources/)$"
		to="http://$1gigya.com/$2" downgrade="1" />

	<rule from="^http://cdns?\.gigya\.com/"
		to="https://cdns.gigya.com/" />

</ruleset>
