Hi,
when we go to Virtualmin > System setting > Server template, it is possible to change a lot of templates (for BIND, MySql, … and for Apache). Yet this template for Apache is active for both :80 and :443 (SSL) virtualhosts. But i’m looking for a way to add a line just for the :443 (SSL) virtualhosts. More specificatlly, I’d like to add some lines to put the header “Strict-Transport-Security” command and the SSLUseStapling command (but it would be the same thing for an other one).
I tried by an “include” directly in Apache server config, but it has not been very convincing … I haven’t find a function which could call a command only for :443 (SSL) virtualhost automatically.
Is there a way to do that by modifying the template ? Or it must be done each time for each new virtualhost ?
Regards