<?xml version="1.0" encoding="utf-8"?>
<configuration>
<location path="index.html">
</location>
    <system.webServer>
    <httpProtocol>
        <customHeaders>
           <add name="Cache-Control" value="public, max-age=31536000" />
            <add name="Pragma" value="no-cache" />
            <add name="Expires" value="-1" />
        </customHeaders>
    </httpProtocol>  

        <rewrite>
  <outboundRules rewriteBeforeCache="true">
    <rule name="Remove Server header">
      <match serverVariable="RESPONSE_Server" pattern=".+" />
      <action type="Rewrite" value="" />
    </rule>
  </outboundRules>
           <rules>
                <rule name="Main Rule" stopProcessing="true">
        		<match url=".*" />
		        <conditions logicalGrouping="MatchAll">
		          <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
        		  <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
		        </conditions>
		        <action type="Rewrite" url="./index.html" />
		</rule>
            </rules>
        </rewrite>
        <security>
            <requestFiltering>
                <fileExtensions>
                    <remove fileExtension=".xlsx" />
                    <remove fileExtension=".txt" />
                </fileExtensions>
            </requestFiltering>
        </security>       
<urlCompression doStaticCompression="true" />
    <httpCompression directory="C:\inetpub\temp\IIS Temporary Compressed Files">
        <scheme name="gzip" dll="C:\Windows\system32\inetsrv\gzip.dll" />
        <staticTypes>
          <add mimeType="text/css" enabled="true" />
          <add mimeType="text/javascript" enabled="true" />
       </staticTypes>
    </httpCompression>     </system.webServer>  
</configuration>
