Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7c9b241704 |
@@ -911,11 +911,12 @@ 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` later stops the header being sent, but a browser that
|
Setting `HSTS_MAX_AGE=0` stops the header being sent, but a browser that already
|
||||||
already received it over HTTPS does not forget it. That browser keeps refusing
|
received it over HTTPS does not forget it: it keeps refusing plaintext HTTP
|
||||||
plaintext HTTP until the `max-age` it saw runs out. Only a `max-age=0` header
|
until the `max-age` it saw runs out. Each header a browser receives over HTTPS
|
||||||
received over HTTPS clears it sooner. webhooker never sends one; a reverse proxy
|
replaces the `max-age` it stored, so to end the policy sooner, set a short
|
||||||
in front of it can.
|
`HSTS_MAX_AGE` such as `1s` and keep it until returning browsers have picked it
|
||||||
|
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