...
add the name in the name field and add value in the value filed.
Code Block language xml <add name="X-Frame-Options" value="SAMEORIGIN" />
...
<add name="X-Content-Type-Options" value="nosniff" />
...
<add name="Referrer-Policy" value="no-referrer-when-downgrade" />
...
<add name="Strict-Transport-Security" value="max-age=31536000; includeSubDomains; preload" />
...
<add name="Permissions-Policy" value="geolocation=(*)" />
Example:
...
Save and restart IIS. But remember to comment out any header set in web.config.