mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
88 lines
3.1 KiB
XML
88 lines
3.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<configuration>
|
|
<system.webServer>
|
|
<rewrite>
|
|
<rules>
|
|
<rule name="AngularRewrite" 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="/" />
|
|
</rule>
|
|
</rules>
|
|
</rewrite>
|
|
<httpProtocol>
|
|
<customHeaders>
|
|
<!-- Iframe on the same host only -->
|
|
<add name="X-Frame-Options" value="SAMEORIGIN" />
|
|
<!-- HTTPS on -->
|
|
<add name="Strict-Transport-Security" value="max-age=31536000" />
|
|
<add name="Referrer-Policy" value="no-referrer" />
|
|
<add name="X-Content-Type-Options" value="nosniff" />
|
|
<!-- <add e="Expect-CT" value="enforce, max-age=86400" /> -->
|
|
<!-- Permision -->
|
|
<add name="Permissions-Policy" value="camera=(), microphone=*" />
|
|
<!-- same origin only -->
|
|
<add name="Cross-Origin-Embedder-Policy" value="require-corp" />
|
|
<!-- same origin only -->
|
|
<!-- <add name="Cross-Origin-Opener-Policy" value="same-origin" /> -->
|
|
</customHeaders>
|
|
</httpProtocol>
|
|
|
|
</system.webServer>
|
|
</configuration>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<configuration>
|
|
<system.webServer>
|
|
<rewrite>
|
|
<rules>
|
|
<rule name="AngularRewrite" 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="/" />
|
|
</rule>
|
|
</rules>
|
|
</rewrite>
|
|
<httpProtocol>
|
|
<customHeaders>
|
|
<!-- Iframe on the same host only -->
|
|
<add name="Content-Security-Policy" value="frame-ancestors https://gdviewer-dev.dyndns.info/" />
|
|
<!-- HTTPS on -->
|
|
<add name="Strict-Transport-Security" value="max-age=31536000" />
|
|
<add name="Referrer-Policy" value="no-referrer" />
|
|
<add name="X-Content-Type-Options" value="nosniff" />
|
|
<!-- <add e="Expect-CT" value="enforce, max-age=86400" /> -->
|
|
<!-- Permision -->
|
|
<add name="Permissions-Policy" value="camera=(), microphone=*" />
|
|
<!-- same origin only -->
|
|
<add name="Cross-Origin-Resource-Policy" value="cross-origin" />
|
|
<!-- same origin only -->
|
|
<add name="Cross-Origin-Opener-Policy" value="require-corp" />
|
|
</customHeaders>
|
|
</httpProtocol>
|
|
|
|
|
|
<directoryBrowse enabled="false" />
|
|
<httpErrors>
|
|
<remove statusCode="404" subStatusCode="-1" />
|
|
<remove statusCode="403" subStatusCode="-1" />
|
|
<error statusCode="403" prefixLanguageFilePath="" path="/home/events" responseMode="ExecuteURL" />
|
|
<error statusCode="404" prefixLanguageFilePath="" path="/index.html" responseMode="ExecuteURL" />
|
|
</httpErrors>
|
|
|
|
|
|
</system.webServer>
|
|
</configuration>
|