<!--
	CDN buckets:

		- s3-external-3.amazonaws.com/static.blog.local.ch/

		- s3-eu-west-1.amazonaws.com/s.staticlocal.ch/


	Problematic domains:

		- local.ch *
		- s.staticlocal.ch *	(works)

	* Cert only matches *.local.ch


	Fully covered local.ch subdomains:

		- (www.)	(^ → www)
		- auto
		- blog
		- developer
		- guide
		- id
		- immo
		- info
		- map
		- market
		- my
		- news
		- tel
		- yellow


	Mixed on multiple subdomains from local.wemfbox.ch

	Mixed image from s.staticlocal.ch on yellow

-->
<ruleset name="Local.ch" platform="mixedcontent">

	<target host="local.ch" />
	<target host="*.local.ch" />


	<securecookie host="^\.local\.ch$" name="^l(?:ang|cl_session_1_production)$" />


	<rule from="^http://(?:www\.)?local\.ch/"
		to="https://www.local.ch/" />

	<rule from="^http://(auto|blog|developer|guide|id|immo|info|map|market|my|news|tel|yellow)\.local\.ch/"
		to="https://$1.local.ch/" />

	<rule from="^http://static\.blog\.local\.ch/"
		to="https://s3-eu-west-1.amazonaws.com/static.blog.local.ch/" />

</ruleset>
