K Kurogane Verified User Joined Oct 6, 2019 Messages 88 Oct 31, 2020 #1 How to enable HTTP Strict Transport Security in OpenLiteSpeed. I'm trying to enable by domain, tried to add via .htaccess but not work.
How to enable HTTP Strict Transport Security in OpenLiteSpeed. I'm trying to enable by domain, tried to add via .htaccess but not work.
scriptkitty Verified User Staff member Joined Jul 10, 2019 Messages 303 Nov 6, 2020 #2 Add extraHeaders via the DirectAdmin Admin Panel -> Admin Settings -> Customize Httpd Configurations -> openlitespeed.conf OLS wiki suggests adding these to the Context section: context / { extraHeaders Strict-Transport-Security: max-age=31536000; includeSubDomains; preload } Click to expand...
Add extraHeaders via the DirectAdmin Admin Panel -> Admin Settings -> Customize Httpd Configurations -> openlitespeed.conf OLS wiki suggests adding these to the Context section: context / { extraHeaders Strict-Transport-Security: max-age=31536000; includeSubDomains; preload } Click to expand...