Skip to content

Commit

Permalink
Removed html and wording changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nitika-goel committed Sep 6, 2018
1 parent fa747da commit 624f1f2
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 5 deletions.
2 changes: 1 addition & 1 deletion token-model.html
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ <h2 class="text-uppercase" style="opacity: 0.6;">Governance</h2>
<ul style="width: 100%;">
<li class="my-4">NXM is the voting weight in governance.</li>
<li class="my-4">Participating in voting earns NXM.</li>
<li class="my-4">Voting locks tokens from redemption &amp; transfer.</li>
<li class="my-4">Voting locks tokens from redemption &amp; transfer for a period of time.</li>
</ul>
</div>
</div>
Expand Down
55 changes: 51 additions & 4 deletions web.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,57 @@
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="posts" patternSyntax="ExactMatch">
<match url="/#team" />
<action type="Rewrite" url="/" />

<rules>
<rule name="Force SSL" enabled="true" stopProcessing="true">
<match url="(.*)" />
<conditions logicalGrouping="MatchAny">
<!-- <add input="{HTTP_HOST}" negate="true" pattern="^/img/favicon\.ico$" ignoreCase="true" /> -->
<!-- <add input="{HTTP_HOST}" pattern="^[^www]" /> -->
<add input="{HTTP_HOST}" pattern="^http://nexusmutual\.io$" />
<add input="{HTTPS}" pattern="off" />
<!-- <add input="{REQUEST_URI}" pattern="^/img/favicon\.ico$" ignoreCase="true" negate="true" /> -->
</conditions>
<action type="Redirect" url="https://nexusmutual.io/{R:1}" appendQueryString="true" redirectType="Permanent" />
</rule>
<rule name="Force no WWW" enabled="true" stopProcessing="true">
<match url="(.*)" />
<conditions logicalGrouping="MatchAny">
<!-- <add input="{HTTP_HOST}" negate="true" pattern="^/img/favicon\.ico$" ignoreCase="true" /> -->
<!-- <add input="{HTTP_HOST}" pattern="^[^www]" /> -->
<add input="{HTTP_HOST}" pattern="^http://www\.nexusmutual\.io$" />
<add input="{HTTPS}" pattern="off" />
<!-- <add input="{REQUEST_URI}" pattern="^/img/favicon\.ico$" ignoreCase="true" negate="true" /> -->
</conditions>
<action type="Redirect" url="https://nexusmutual.io/{R:1}" appendQueryString="true" redirectType="Permanent" />
</rule>

<rule name="Force no WWW - 2" enabled="true" stopProcessing="true">
<match url="(.*)" />
<conditions logicalGrouping="MatchAny">
<!-- <add input="{HTTP_HOST}" negate="true" pattern="^/img/favicon\.ico$" ignoreCase="true" /> -->
<!-- <add input="{HTTP_HOST}" pattern="^[^www]" /> -->
<add input="{HTTP_HOST}" pattern="^https://www\.nexusmutual\.io$" />
<add input="{HTTPS}" pattern="off" />
<!-- <add input="{REQUEST_URI}" pattern="^/img/favicon\.ico$" ignoreCase="true" negate="true" /> -->
</conditions>
<action type="Redirect" url="https://nexusmutual.io/{R:1}" appendQueryString="true" redirectType="Permanent" />
</rule>
<rule name="Hide .html ext">
<match ignoreCase="true" url="^(.*)"/>
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>
<add input="{REQUEST_FILENAME}.html" matchType="IsFile"/>
</conditions>
<action type="Rewrite" url="{R:0}.html"/>
</rule>
<rule name="Redirecting .html ext" stopProcessing="true">
<match url="^(.*).html"/>
<conditions logicalGrouping="MatchAny">
<add input="{URL}" pattern="(.*).html"/>
</conditions>
<action type="Redirect" url="{R:1}"/>
</rule>
</rules>
</rewrite>
Expand Down

0 comments on commit 624f1f2

Please sign in to comment.