<!--
	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)
		- blog.local.ch (mismatch)
		- help.local.ch (mismatch)

	* Cert only matches *.local.ch


	Fully covered local.ch subdomains:

		- (www.)	(^ → www)
		- i
		- immo
		- info
		- map
		- mba
		- tel
		- update
		- yellow


	Mixed content on update.local.ch (mitigated)
-->
<ruleset name="Local.ch">
	<target host="local.ch" />
	<target host="www.local.ch" />
	<target host="i.local.ch" />
	<target host="immo.local.ch" />
	<target host="info.local.ch" />
	<target host="map.local.ch" />
	<target host="mba.local.ch" />
	<target host="tel.local.ch" />
	<target host="update.local.ch" />
	<target host="yellow.local.ch" />

	<test url="http://static.blog.local.ch/" />

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

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

	<rule from="^http:"
		to="https:" />
</ruleset>
