I have tried this on Plesk 11.5 and Plesk 12.0.10 Preview running on Ubuntu 12.04.4 LTS...
Locate the file
And add the normal Nginx HSTS directive under the certificate entries like so..
Save the file and restart the Plesk server..
Perhaps someone from Parallels can confirm when and if this file gets overwritten?
Anyway I hope it helps someone else.
Kind regards
Lloyd
Locate the file
/etc/sw-cp-server/conf.d/plesk.conf
And add the normal Nginx HSTS directive under the certificate entries like so..
ssl_certificate /opt/psa/admin/conf/httpsd.pem;
ssl_certificate_key /opt/psa/admin/conf/httpsd.pem;
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains";
Save the file and restart the Plesk server..
Now you have Strict Transport Security on your panel.service sw-cp-server restart
Perhaps someone from Parallels can confirm when and if this file gets overwritten?
Anyway I hope it helps someone else.
Kind regards
Lloyd