Auto SSL
Every hostname needs a valid certificate before HSTS makes the HTTP fallback unavailable.
Open the topicCDN.com.tr Help
The Hsts security preset makes the edge send Strict-Transport-Security: max-age=31536000 on HTTPS responses, so a browser that has seen your site once refuses to open it over plain HTTP for a year.
Cache, security, WAF, and purge
The Hsts security preset makes the edge send Strict-Transport-Security: max-age=31536000 on HTTPS responses, so a browser that has seen your site once refuses to open it over plain HTTP for a year.
This is the only real decision. HSTS is safe on a site that is fully on HTTPS and painful on one that is not.
Knowing the exact scope avoids both over-confidence and a support ticket asking why a subdomain is unaffected.
This step is the whole risk of the feature. Everything after it is two clicks.
Expected result: Every hostname on the account loads over HTTPS without certificate or mixed-content warnings.
curl -sI https://www.example.com/ | head -1
curl -sI https://assets.example.com/ | head -1
The Security Setting field is a multiselect of security presets. Adding Hsts leaves the others in place.
Expected result: The preset set is saved and a deploy is queued, so the edge configuration is regenerated with the HSTS include.
POST /api/accounts/update_account_presets/<account_uuid>
{"type":"security","presets":["Waf","Hsts"]}
The call replaces the whole preset set for that type — send every preset you want to keep.
A saved preset is an intention; the response header is the fact.
Expected result: The HTTPS response carries Strict-Transport-Security: max-age=31536000 and the site loads normally.
curl -sI https://www.example.com/ | grep -i strict-transport
curl -sI http://www.example.com/ | grep -i strict-transport
Your site is fully on HTTPS and you want to close the first-request gap: the first click of the day still goes out as http:// and only then gets redirected. HSTS removes that request entirely — the browser upgrades it before it leaves the machine.