User:Eighty5cacao/misc/HTTPS Everywhere/rulewip/Pin Eight

From Pin Eight
< User:Eighty5cacao‎ | misc‎ | HTTPS Everywhere‎ | rulewip
Revision as of 19:21, 24 June 2013 by Eighty5cacao (talk | contribs) (specify the hostname of the underlying WebFaction server, in case someone wants to grep for webfaction to identify sites needing SNI)
Jump to: navigation, search
<!--
    For rules disabled by request of the site owner, see Pin_Eight-experimental.xml.


    web369.webfaction.com

-->
<ruleset name="Pin Eight (partial)">
    <target host="pineight.com" />
    <target host="www.pineight.com" />

    <securecookie host="^(?:www\.)?pineight\.com$" name=".*" />

    <rule from="^http://(www\.)?pineight\.com/mw/"
            to="https://$1pineight.com/mw/" />

    <rule from="^http://(www\.)?pineight\.com/(.+)\.(css|gif|jpe?g|js|png|txt|zip)$"
            to="https://$1pineight.com/$2.$3" />

</ruleset>