HTTP Strict Transport Security (HSTS)Errors and Warnings, Can you check the attachment? How can I fixed this

Viewed 70

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).

0 Answers
Related