I'd like to add a HSTS header to our SharePoint 2013 Foundation on prem install, but can't seem to find a way to do this. I've seen a lot mention this in other questions -
$wa = Get-SPWebApplication https://sharepoint.example.com $wa.HttpStrictTransportSecuritySettings.IsEnabled = $true $wa.Update()
However, looking at this blog it shows that the object
HttpStrictTransportSecuritySettings does not exist in SharePoint 2013.
Has anyone else using 2013 on prem had any success doing this?