You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 1, 2023. It is now read-only.
-**active** (Boolean) The setting allows to enable or disable a CDN Resource
73
+
-**description** (String) Custom client description of the resource.
42
74
-**id** (String) The ID of this resource.
43
75
-**options** (Block List, Max: 1) Each option in CDN resource settings. Each option added to CDN resource settings should have the following mandatory request fields: enabled, value. (see [below for nested schema](#nestedblock--options))
44
76
-**origin** (String) A domain name or IP of your origin source. Specify a port if custom. You can use either 'origin' parameter or 'originGroup' in the resource definition.
-**browser_cache_settings** (Block List, Max: 1) (see [below for nested schema](#nestedblock--options--browser_cache_settings))
93
+
-**cors** (Block List, Max: 1) (see [below for nested schema](#nestedblock--options--cors))
60
94
-**edge_cache_settings** (Block List, Max: 1) The cache expiration time for CDN servers. (see [below for nested schema](#nestedblock--options--edge_cache_settings))
95
+
-**gzip_on** (Block List, Max: 1) (see [below for nested schema](#nestedblock--options--gzip_on))
61
96
-**host_header** (Block List, Max: 1) Specify the Host header that CDN servers use when request content from an origin server. Your server must be able to process requests with the chosen header. If the option is in NULL state Host Header value is taken from the CNAME field. (see [below for nested schema](#nestedblock--options--host_header))
97
+
-**redirect_http_to_https** (Block List, Max: 1) Sets redirect from HTTP protocol to HTTPS for all resource requests. (see [below for nested schema](#nestedblock--options--redirect_http_to_https))
98
+
-**rewrite** (Block List, Max: 1) (see [below for nested schema](#nestedblock--options--rewrite))
99
+
-**webp** (Block List, Max: 1) (see [below for nested schema](#nestedblock--options--webp))
### Nested Schema for `options.edge_cache_settings`
124
+
70
125
Optional:
71
126
72
127
-**custom_values** (Map of String) Caching time for a response with specific codes. These settings have a higher priority than the value field. Response code ('304', '404' for example). Use 'any' to specify caching time for all response codes. Caching time in seconds ('0s', '600s' for example). Use '0s' to disable caching for a specific response code.
73
128
-**default** (String) Content will be cached according to origin cache settings. The value applies for a response with codes 200, 201, 204, 206, 301, 302, 303, 304, 307, 308 if an origin server does not have caching HTTP headers. Responses with other codes will not be cached.
129
+
-**enabled** (Boolean)
74
130
-**value** (String) Caching time for a response with codes 200, 206, 301, 302. Responses with codes 4xx, 5xx will not be cached. Use '0s' disable to caching. Use custom_values field to specify a custom caching time for a response with specific codes.
0 commit comments