Strict-Transport-Security — CyberPanel - WebHosting Control Panel for OpenLiteSpeed
CyberHosting

Strict-Transport-Security

edited March 29 in Tutorials
In custom app installation I have "The "Strict-Transport-Security" HTTP header is not set to at least "15552000" seconds." message.

For Apache it should to be set VirtualHost file as:

<VirtualHost *:443>
ServerName mysubdomain.mydomain.com
<IfModule mod_headers.c>
Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains; preload"
</IfModule>
</VirtualHost>

Where and what exactly to add in CyberPanel?

Comments

Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion