Strict-Transport-Security

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

Header always set Strict-Transport-Security “max-age=15552000; includeSubDomains; preload”

Where and what exactly to add in CyberPanel?

You fix it?

Wrote a small guide on how to do this → https://cyberpanel.net/docs/how-to-set-hsts-header-strict-transport-security-using-cyberpanel-openlitespeed/

This is just wonderful! Thank you. You have great support! Like CyberPanel.