http_​to_​https_​upgrade

Version: v2025-01-13Includes use: Yes

Behavior name: HTTP to HTTPS Upgrade

Upgrades an HTTP edge request to HTTPS for the remainder of the request flow. Enable this behavior only if your origin supports HTTPS, and if your origin behavior is configured with originCertsToHonor to verify SSL certificates.

Default behavior

These samples reflect the behavior's default settings. You can use these as is in your configurations or make adjustments based on the behavior's available options.

Note: There are no options for this behavior. Placing it in the behavior block without options enables it.

data "akamai_property_rules_builder" "http_to_https_upgrade" {
  rules_v2025_02_18 {
    name     = "HTTP to HTTPS Upgrade"
    comments = "Upgrades an HTTP edge request to HTTPS."
    behavior {
      http_to_https_upgrade {
      }
    }
  }
}
"behaviors": [
  {
  "name": "httpToHttpsUpgrade",
  "options": {
    }
  }
]