Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
litespeed_wiki:config:hsts-setup [2018/02/07 16:00]
Jackson Zhang [Using Apache Configs, Such as cPanel and Plesk]
litespeed_wiki:config:hsts-setup [2018/02/08 14:11] (current)
Lisa Clarke [Using Apache Configs, Such as cPanel and Plesk]
Line 11: Line 11:
 ===== Using Apache Configs, Such as cPanel and Plesk ===== ===== Using Apache Configs, Such as cPanel and Plesk =====
  
-If LSWS is using Apache configs, such as a cpanel ​or Plesk environment, ​ setting up HSTS is as simple as adding a Header ​directive to your server or .htaccess configs. If You would like to enable it globally instead of any particular virtual host, you can add it to server level configuration,​ for example for cpanelin pre_main_global configuration.+If LSWS is using Apache configs, such as in cPanel ​or Plesk environment,​ setting up HSTS is as simple as adding a header ​directive to your server or ''​.htaccess'' ​configs. If you would like to enable it globally instead of on any particular virtual host, you can add it to the server level configuration,​ for example for cPaneladd it to ''​pre_main_global'' ​configuration.
  
   Header always set Strict-Transport-Security "​max-age=31536000" ​   Header always set Strict-Transport-Security "​max-age=31536000" ​
  • Admin
  • Last modified: 2018/02/07 16:00
  • by Jackson Zhang