I used this code :
<VirtualHost *:443>
...
Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains"
...
</VirtualHost>
Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
Strict-Transport-Security: max-age=0; includeSubDomains
How can remove to max-age = 0;
Error: Strict-Transport-Security header appears more than once. (İn google browser)
Resolution: Send only one. But, I cant fixed.
Note: it's working right in the local. (Only one --> max- age = 31536000).