Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

Increase_availability.json 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. {
  2. "children": [
  3. {
  4. "behaviors": [
  5. {
  6. "name": "breakConnection",
  7. "options": {
  8. "enabled": true
  9. }
  10. }
  11. ],
  12. "comments": "Simulate an origin connection problem and test the site failover configuration on the CDN staging network.",
  13. "criteria": [
  14. {
  15. "name": "contentDeliveryNetwork",
  16. "options": {
  17. "matchOperator": "IS",
  18. "network": "STAGING"
  19. }
  20. },
  21. {
  22. "name": "requestHeader",
  23. "options": {
  24. "headerName": "breakconnection",
  25. "matchCaseSensitiveValue": true,
  26. "matchOperator": "IS_ONE_OF",
  27. "matchWildcardName": false,
  28. "matchWildcardValue": false,
  29. "values": [
  30. "Your-Secret-Here"
  31. ]
  32. }
  33. }
  34. ],
  35. "name": "Simulate failover",
  36. "options": {},
  37. "criteriaMustSatisfy": "all"
  38. },
  39. {
  40. "behaviors": [
  41. {
  42. "name": "failAction",
  43. "options": {
  44. "enabled": false
  45. }
  46. }
  47. ],
  48. "comments": "Specify how edge servers respond when the origin is not available.",
  49. "criteria": [
  50. {
  51. "name": "originTimeout",
  52. "options": {
  53. "matchOperator": "ORIGIN_TIMED_OUT"
  54. }
  55. }
  56. ],
  57. "name": "Site failover",
  58. "options": {},
  59. "criteriaMustSatisfy": "any"
  60. },
  61. {
  62. "behaviors": [
  63. {
  64. "name": "healthDetection",
  65. "options": {
  66. "maximumReconnects": 3,
  67. "retryCount": 3,
  68. "retryInterval": "10s"
  69. }
  70. }
  71. ],
  72. "comments": "Monitor the health of your origin by tracking unsuccessful IP connection attempts.",
  73. "name": "Origin health",
  74. "options": {},
  75. "criteriaMustSatisfy": "all"
  76. },
  77. {
  78. "behaviors": [
  79. {
  80. "name": "scriptManagement",
  81. "options": {
  82. "enabled": false
  83. }
  84. }
  85. ],
  86. "comments": "Enable Script Management to minimize performance and availability impacts from third-party JavaScripts.",
  87. "name": "Script management",
  88. "options": {},
  89. "criteriaMustSatisfy": "all"
  90. }
  91. ],
  92. "comments": "Control how to respond when your origin or third parties are slow or even down to minimize the negative impact on user experience.",
  93. "name": "Increase availability",
  94. "options": {},
  95. "criteriaMustSatisfy": "all"
  96. }