-   CentOS (
-   -   Enable HTTP Strict Transport Security (

robertkwild 10-27-2017 08:54 AM

Enable HTTP Strict Transport Security
hi all,

got a warning on my nextcloud server saying i need to do the above but reading through the manual -

where do you add those lines to, is it the -


or here


many thanks,


robertkwild 10-27-2017 10:57 AM

got it working, i didnt need all the information required, as some where duplicates in the ssl.conf file so all i needed was the below, i put it in between the two virtual host tags -

<IfModule mod_headers.c>

Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains"


All times are GMT -5. The time now is 08:59 AM.