AI OnAI Off
Aug 07, 2023
Sep 18, 2023
Closed, Fixed and tested
Fixed an issue that prevented you from setting a header for StaticFile.
Added the following option to the Forms section in appsettings.json.
"Forms": { "FormsConfigOptions": { "StaticFilesHeaders": { "Strict-Transport-Security": "max-age=63072000; includeSubDomains; preload" } } }
To test this:
"Strict-Transport-Security": "max-age=63072000; includeSubDomains; preload"