Skip to content
  • deuce's avatar
    Add new web option "HSTS_SAFE" · 6c30acdf
    deuce authored
    If this option is set, it means that all content available via http:// is
    available at the same https:// URL.  This will trigger to new behaviours:
    1) If an HTTP request has the "Upgrade-Insecure-Requests: 1" header, the
       client will get a 307 redirect to the https:// URL.
    2) For https:// responses, the following two headers will be added:
       Content-Security-Policy: block-all-mixed-content
       Strict-Transport-Security: max-age=10886400; preload
    6c30acdf