<!--
	CDN buckets:

		- d2c01jv13s9if1.cloudfront.net
		- d2rfichhc2fb9n.cloudfront.net
		- d39zheejy3ckol.cloudfront.net


	Partially covered subdomains:

		- (www.)


	Fully covered subdomains:

		- account

-->
<ruleset name="App.net">

	<target host="app.net" />
	<target host="*.app.net" />
		<exclusion pattern="^http://(?:www\.)?app\.net/(?!$|\?|favicon\.ico|w/|wakea/widget/)" />


	<!--	Are these safe to secure?
						-->
	<!--securecookie host="^app\.net$" name="^csrftoken$" /-->
	<!--securecookie host="^\.app\.net$" name="^mt_uic$" /-->
	<securecookie host="^(?:account|alpha|\.?join)\.app\.net$" name=".+" />


	<!--	Redirects to http first:
						-->
	<rule from="^http://(?:www\.)?app\.net/(?:\?.*)?$"
		to="https://join.app.net/" />

	<rule from="^http://((?:account|alpha|files|join|www)\.)?app\.net/"
		to="https://$1app.net/" />

</ruleset>
