You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.json 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "rules": {
  3. "name": "default",
  4. "behaviors": [
  5. {
  6. "name": "origin",
  7. "options": {
  8. "cacheKeyHostname": "REQUEST_HOST_HEADER",
  9. "compress": true,
  10. "enableTrueClientIp": true,
  11. "forwardHostHeader": "REQUEST_HOST_HEADER",
  12. "hostname": "${env.origin_hostname}",
  13. "httpPort": 80,
  14. "httpsPort": 443,
  15. "originCertificate": "",
  16. "originSni": true,
  17. "originType": "CUSTOMER",
  18. "ports": "",
  19. "trueClientIpClientSetting": false,
  20. "trueClientIpHeader": "True-Client-IP",
  21. "verificationMode": "PLATFORM_SETTINGS"
  22. }
  23. }
  24. ],
  25. "children": [
  26. "#include:Add_testheader.json",
  27. "#include:Augment_insights.json",
  28. "#include:Accelerate_delivery.json",
  29. "#include:Offload_origin.json",
  30. "#include:Strengthen_security.json",
  31. "#include:Increase_availability.json",
  32. "#include:Minimize_payload.json"
  33. ],
  34. "comments": "The Default Rule template contains all the necessary and recommended behaviors. Rules are evaluated from top to bottom and the last matching rule wins.",
  35. "options": {
  36. "is_secure": "${env.secure}"
  37. }
  38. }
  39. }