Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9b39b865ca |
@@ -911,12 +911,11 @@ as `example.com`, not `hooks.example.com`. A listed domain is HTTPS-only in
|
|||||||
every browser that ships the list, even for users who have never visited it, and
|
every browser that ships the list, even for users who have never visited it, and
|
||||||
removal takes months to reach those browsers, so treat a listing as permanent.
|
removal takes months to reach those browsers, so treat a listing as permanent.
|
||||||
|
|
||||||
Setting `HSTS_MAX_AGE=0` stops the header being sent, but a browser that already
|
Setting `HSTS_MAX_AGE=0` later stops the header being sent, but a browser that
|
||||||
received it over HTTPS does not forget it: it keeps refusing plaintext HTTP
|
already received it over HTTPS does not forget it. That browser keeps refusing
|
||||||
until the `max-age` it saw runs out. Each header a browser receives over HTTPS
|
plaintext HTTP until the `max-age` it saw runs out. Only a `max-age=0` header
|
||||||
replaces the `max-age` it stored, so to end the policy sooner, set a short
|
received over HTTPS clears it sooner. webhooker never sends one; a reverse proxy
|
||||||
`HSTS_MAX_AGE` such as `1s` and keep it until returning browsers have picked it
|
in front of it can.
|
||||||
up, or have a reverse proxy send `max-age=0`.
|
|
||||||
|
|
||||||
## Backup, Restore, and Upgrades
|
## Backup, Restore, and Upgrades
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user