Fix HTTP Strict Transport Security header #7
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For some reason it's not getting set when I include it with the other SSL stuff... if I move it next to the
add_header
in the PHP block it works. Must be some order thing...According to the docs, the inheritance is conditional:
So I have to re-evaluate the logic... as requests in the php block get the FastCGI-Cache header, and therefore don't get the HSTS header! I could just set the HSTS header there as well I suppose...?
See here, at least some requests to manage to set the header:
And indeed, once a client gets any HSTS header it will remember it, but we definitely need to get this on something less obscure than a random text file which lives on the server which the client is most likely NOT going to click!