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

12345678910111213141516171819202122232425262728293031323334353637383940
  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. "minTlsVersion": "DYNAMIC"
  23. }
  24. }
  25. ],
  26. "children": [
  27. "#include:Add_testheader.json",
  28. "#include:Augment_insights.json",
  29. "#include:Accelerate_delivery.json",
  30. "#include:Offload_origin.json",
  31. "#include:Strengthen_security.json",
  32. "#include:Increase_availability.json",
  33. "#include:Minimize_payload.json"
  34. ],
  35. "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.",
  36. "options": {
  37. "is_secure": "${env.secure}"
  38. }
  39. }
  40. }