IIS now sends www.andreaslop.nl to https://andreaslop.nl in one step, so monitoring and search engines see a single address. The go-live steps check the redirect and wait for the privacy statement, and the readiness checklist lists what is left for the go-live. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
55 lines
2.8 KiB
XML
55 lines
2.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Gegenereerd door web/config/serverConfig.ts (pnpm server-config). Niet handmatig aanpassen. -->
|
|
<configuration>
|
|
<system.webServer>
|
|
<rewrite>
|
|
<rules>
|
|
<rule name="www naar andreaslop.nl" stopProcessing="true">
|
|
<match url="(.*)" />
|
|
<conditions>
|
|
<add input="{HTTP_HOST}" pattern="^www\.andreaslop\.nl$" />
|
|
</conditions>
|
|
<action type="Redirect" url="https://andreaslop.nl/{R:1}" redirectType="Permanent" />
|
|
</rule>
|
|
<rule name="HTTPS" stopProcessing="true">
|
|
<match url="(.*)" />
|
|
<conditions>
|
|
<add input="{HTTPS}" pattern="^OFF$" />
|
|
</conditions>
|
|
<action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="Permanent" />
|
|
</rule>
|
|
<rule name="SPA fallback" 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>
|
|
<httpProtocol>
|
|
<customHeaders>
|
|
<remove name="X-Powered-By" />
|
|
<add name="Content-Security-Policy" value="default-src 'self'; script-src 'self' https://analytics.slpsoftware.nl; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self'; connect-src 'self' https://analytics.slpsoftware.nl https://o4511795618185216.ingest.de.sentry.io; object-src 'none'; base-uri 'self'; form-action 'self'; frame-ancestors 'none'" />
|
|
<add name="Strict-Transport-Security" value="max-age=31536000; includeSubDomains" />
|
|
<add name="X-Content-Type-Options" value="nosniff" />
|
|
<add name="X-Frame-Options" value="DENY" />
|
|
<add name="Referrer-Policy" value="strict-origin-when-cross-origin" />
|
|
</customHeaders>
|
|
</httpProtocol>
|
|
<staticContent>
|
|
<remove fileExtension=".woff2" />
|
|
<mimeMap fileExtension=".woff2" mimeType="font/woff2" />
|
|
<clientCache cacheControlMode="DisableCache" />
|
|
</staticContent>
|
|
</system.webServer>
|
|
<location path="assets">
|
|
<system.webServer>
|
|
<staticContent>
|
|
<clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="365.00:00:00" />
|
|
</staticContent>
|
|
</system.webServer>
|
|
</location>
|
|
</configuration>
|