problems using mod_headers with php-fpm/mod_fastcgi problems using mod_headers with php-fpm/mod_fastcgi apache apache

problems using mod_headers with php-fpm/mod_fastcgi


According to the docs for mod_headers you probably need to set the optional conditional flag for the header directive.

So in this case, it would become

Header always set Strict-Transport-Security "max-age=7776000"