setting_name | string | 是 | Ports are space separated; balance_way is round_robin, ip_hash, url_hash, least_conn or random; backend_https_port 1-65535; ups_keepalive_timeout seconds 1-300; cc_ban_seconds 1-86400 and cc_pass_seconds 60-604800 (filled into a new CC policy that names none); dns_provider is the ID of a verified DNS account of the scope (checked when saved; a create that names none uses it when the creator has dns.manage, and skips the records if it is no longer usable); cc_policy, waf_policy and acl_policy are the ID of one of the owner's own rule libraries of that kind (not a subscribed one; checked when saved), copied into a library of the new site's own and bound to it in the create (later changes of the library or the default leave existing sites alone; a library gone by then, or a package without the feature, skips the copy); block_proxy 1 adds rules blocking requests with a Via, X-Forwarded-For or Forwarded header to the new site's WAF library (identified by proxy headers: users behind a corporate proxy are blocked too); req_header is one "Name: value" per line (up to 8192 characters), set on requests to the origin; post_size_limit is the upload limit in MB 1-1024 (client_max_body_size). req_header and post_size_limit become the new site's HTTP policy when the creator has http_policies.manage; http2, http3 and ssl_prefer_server_ciphers fill the new site's http2_enabled, http3_enabled and tls_prefer_server_ciphers; proxy_cache is a cache policy document (JSON, the document of /v1/cache-policies/{site_id}; up to 65536 characters) written as the new site's first cache policy revision in the create; cond_origin is {"routes": [...]} of conditional origin rules (as the site's conditional origin document) whose pool_id is the placeholder "@default", replaced by the new site's own default origin pool (no origin addresses are stored); block_region is abrord_inc (block outside mainland China, Hong Kong, Macao and Taiwan included), abrord_no_inc (outside CN/HK/MO/TW), china_inc (CN, HK, MO and TW), china_not_inc (CN only) or none, the competitor's values: a preset adds one WAF rule on the client's country (by the node's IP intelligence library) to the new site's WAF library as block_proxy does, none adds nothing; ssl_cipher_preset is modern, compatible, legacy or custom; ssl_cipher_suites is the custom preset's colon-separated suite list (the same whitelist and rules as the site's tls_cipher_suites), and a custom ssl_cipher_preset applies to a new site only together with it; the rest are 1 (on) or 0 (off). |
|---|