Option | Data Type | Description | Example | Known Values | Note |
---|
ID | integer | Indicates the CDN service ID. | 5 | | |
service_domain | string | Specify the domain name for customized CDN URLs. | static.mycompany.com | | |
origin_domain | string | The domain name from which the CDN service requests its content. | www.mycompany.com | | |
ssl_on | boolean | Enable or disable Shared SSL. | false | false, true | If the Service Domain is of the format "ONEWORD.r.worldssl.net" then Shared SSL will be enabled automatically.
To enable Shared SSL add ".r.worldssl.net" to the end of the service_domain parameter and set ssl_on parameter to true.
To disable Shared SSL remove ".r.worldssl.net" from the end of the service_domain parameter and set ssl_on parameter to false. |
origin_protocol | string | Indicates the protocol (HTTP/HTTPS/AUTO) used for pull requests from CDN edge servers to the CDN service origin. | HTTPS | HTTP, HTTPS, AUTO | |
origin_port | integer | Indicates the custom TCP port used for pull requests from CDN edge servers to the CDN service origin. | 1024 | | The value has to be in the range from 1024 to 65535. If the value is null then the default port is used (determined by the Origin Protocol). |
cache_expiry | integer | For how long (minutes) should CDN edge servers cache your content. | 2160 | 1, 2, 3, 5, 10, 30, 60, 240, 720, 1440, 2160, 2880, 4320, 5760, 7200, 8640, 10800, 11520, 12960, 14400, 21600, 28800, 36000, 43200 | |
url_signing_on | boolean | Protect your CDN content from unwanted downloads. | false | false, true | url_signing_on, url_signing_key are grouped options - if you provide at least one of them then you need to provide all of them. |
url_signing_key | string | The key for URL Signing. | xWhK2lPsmnGshx | | |
proxy_cache_key | string | Specify the CDN cache key. | $host$uri | $host$request_uri, $host$uri | |
ignore_set_cookie_on | boolean | Whether Ignore Set-Cookie is enabled or disabled. | true | true, false | |
block_crawlers_on | boolean | Whether Block Search Engine Crawlers is enabled or disabled. | true | true, false | |
secondary_service_domains | array | Secondary Service Domains. | [secdom1.mycompany.com, secdom2.mycompany.com] | | Specify up to 7 Secondary Service Domains. |
password_on | boolean | Protect your CDN content with username/password authorization. | false | false, true | password_on, passwords, password_unauthorized_html are grouped options - if you provide at least one of them then you need to provide all of them. |
passwords | array | Array of username/password pairs. | [{username:john,password:secret}, {username:john2,password:secret3}] | | |
password_unauthorized_html | string | Password unauthorized HTML. | access forbidden | | |
ip_access_policy | string | Protect your CDN content from visits from unwanted IP addresses. | NONE | NONE, ALLOW_BY_DEFAULT, BLOCK_BY_DEFAULT | ip_access_policy, ip_addresses are grouped options - if you provide at least one of them then you need to provide all of them. |
ip_addresses | array | Specify IP addresses. | [1.1.1.1, 2.2.2.2] | | |
hotlink_policy | string | Protect your CDN content from linking from unwanted domains. | NONE | NONE, ALLOW_BY_DEFAULT, BLOCK_BY_DEFAULT | hotlink_policy, domains are grouped options - if you provide at least one of them then you need to provide all of them. |
domains | array | Specify domains. | [domain1.com, domain2.com] | | |
country_access_policy | string | Protect your CDN content from visits from unwanted countries. | NONE | NONE, ALLOW_BY_DEFAULT, BLOCK_BY_DEFAULT | country_access_policy, countries are grouped options - if you provide at least one of them then you need to provide all of them. |
countries | array | Specify countries. | [CZ, US] | | |
location_ids | array | Specify the integer ID(s) of subscribed CDN Locations. | [1, 2] | | |