Headers
Last updated
Was this helpful?
Last updated
Was this helpful?
This setting is available in small, large and dynamic(aksela) resource types.
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}
UUID of the organization
UUID of the resource
Enable or disable HTTP Strict Transport Security (HSTS) protection for the resource.
true
Maximum time in seconds for which the HSTS protection is applied.
7776000
Whether to include subdomains for the HSTS protection.
true
Whether to include the resource in the preload list for HSTS.
true
This setting is available for all resource types.
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}
UUID of the organization
UUID of the resource
Enable or disable the X-CDN header for the resource.
true
The name of the X-CDN header.
test.header
This setting is available in small, large and dynamic(aksela) resource types.
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}
UUID of the organization
UUID of the resource
Enable or disable X-Frame Options for the resource.
true
List of domains trusted for embedding the resource in frames.
domain1.com
This setting is available for all resource types.
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}
UUID of the organization
UUID of the resource
This setting is available in small, large, VOD and streaming resource types.
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}
UUID of the organization
UUID of the resource
Enable or disable CORS headers.
on
on
, off
List of domains allowed for CORS.
["domain1.com","domain2.com"]
This setting is available for all resource types.
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}
UUID of the organization
UUID of the resource
Enable or disable custom headers for the resource.
true
List of custom headers to set for the resource.
{"type":"request_header","key":"Key1","value":"Value1"}
This setting is available in small, large and dynamic(aksela) resource types.
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}
UUID of the organization
UUID of the resource
Enable or disable X-XSS Protection for the resource.
true
This setting is available in small, large and dynamic(aksela) resource types.
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}
UUID of the organization
UUID of the resource
Enable or disable X-Content Type Options for the resource.
true