Differences
This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
litespeed_wiki:config:hsts-setup [2015/07/29 16:15] Michael Alegre created |
litespeed_wiki:config:hsts-setup [2018/02/07 15:58] Jackson Zhang [Using Apache Configs] |
||
---|---|---|---|
Line 9: | Line 9: | ||
In both Apache and LSWS-native configs, setting up HSTS is just a matter of adding a header. | In both Apache and LSWS-native configs, setting up HSTS is just a matter of adding a header. | ||
- | ===== Using Apache Configs ===== | + | ===== Using Apache Configs, Such as cPanel and Plesk ===== |
- | If you are using Apache configs, setting up HSTS is as simple as adding a Header directive to your server or .htaccess configs: | + | 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: |
Header always set Strict-Transport-Security "max-age=31536000" | Header always set Strict-Transport-Security "max-age=31536000" |