Enabling HSTS in the settings file

Hi. I'm trying to get Node-Red on my University Network. The IT team ran a security scan on the ports and although I have enabled HTTPS, I have been told to enable HSTS. I'm not sure how to do this - can anyone help please? Thanks.

Found a solution here: