199 lines
4.3 KiB
JSON
199 lines
4.3 KiB
JSON
{
|
|
"status": 200,
|
|
"body": {
|
|
"rules": [
|
|
{
|
|
"actions": [
|
|
{
|
|
"name": "X-Req-Scope",
|
|
"type": "set_request_header",
|
|
"value": "global"
|
|
},
|
|
{
|
|
"name": "X-Global-Request",
|
|
"type": "set_request_header",
|
|
"value": "global"
|
|
}
|
|
],
|
|
"conditions": [],
|
|
"enabled": true,
|
|
"id": "vcl-request-2",
|
|
"match": "all",
|
|
"name": "VCL vcl_recv line 2",
|
|
"stage": "request",
|
|
"vcl_flow": {
|
|
"count": 7,
|
|
"group": "g1",
|
|
"index": 0,
|
|
"version": 1
|
|
}
|
|
},
|
|
{
|
|
"actions": [],
|
|
"conditions": [],
|
|
"enabled": true,
|
|
"id": "vcl-request-4",
|
|
"match": "all",
|
|
"name": "VCL vcl_recv branch line 4",
|
|
"stage": "request",
|
|
"vcl_flow": {
|
|
"branches": [
|
|
{
|
|
"any": [
|
|
[
|
|
{
|
|
"field": "url",
|
|
"operator": "regex",
|
|
"values": [
|
|
"^/global-pass"
|
|
]
|
|
}
|
|
]
|
|
]
|
|
}
|
|
],
|
|
"count": 7,
|
|
"group": "g1",
|
|
"index": 1,
|
|
"version": 1
|
|
}
|
|
},
|
|
{
|
|
"actions": [
|
|
{
|
|
"type": "pass"
|
|
}
|
|
],
|
|
"conditions": [],
|
|
"enabled": true,
|
|
"id": "vcl-request-4-2",
|
|
"match": "all",
|
|
"name": "VCL vcl_recv line 4",
|
|
"stage": "request",
|
|
"stop": true,
|
|
"vcl_flow": {
|
|
"count": 7,
|
|
"group": "g1",
|
|
"guards": [
|
|
{
|
|
"branch": 0,
|
|
"entry": 1
|
|
}
|
|
],
|
|
"index": 2,
|
|
"version": 1
|
|
}
|
|
},
|
|
{
|
|
"actions": [
|
|
{
|
|
"name": "x-beresp-scope",
|
|
"type": "set_backend_header",
|
|
"value": "global"
|
|
},
|
|
{
|
|
"name": "x-global-response",
|
|
"type": "set_backend_header",
|
|
"value": "global"
|
|
}
|
|
],
|
|
"conditions": [],
|
|
"enabled": true,
|
|
"id": "vcl-response-7",
|
|
"match": "all",
|
|
"name": "VCL vcl_backend_response line 7",
|
|
"stage": "response",
|
|
"vcl_flow": {
|
|
"count": 7,
|
|
"group": "g1",
|
|
"index": 3,
|
|
"version": 1
|
|
}
|
|
},
|
|
{
|
|
"actions": [],
|
|
"conditions": [],
|
|
"enabled": true,
|
|
"id": "vcl-response-9",
|
|
"match": "all",
|
|
"name": "VCL vcl_backend_response branch line 9",
|
|
"stage": "response",
|
|
"vcl_flow": {
|
|
"branches": [
|
|
{
|
|
"any": [
|
|
[
|
|
{
|
|
"field": "url",
|
|
"operator": "regex",
|
|
"values": [
|
|
"^/ttl-priority"
|
|
]
|
|
}
|
|
]
|
|
]
|
|
}
|
|
],
|
|
"count": 7,
|
|
"group": "g1",
|
|
"index": 4,
|
|
"version": 1
|
|
}
|
|
},
|
|
{
|
|
"actions": [
|
|
{
|
|
"seconds": 60,
|
|
"type": "ttl"
|
|
}
|
|
],
|
|
"conditions": [],
|
|
"enabled": true,
|
|
"id": "vcl-response-9-2",
|
|
"match": "all",
|
|
"name": "VCL vcl_backend_response line 9",
|
|
"stage": "response",
|
|
"vcl_flow": {
|
|
"count": 7,
|
|
"group": "g1",
|
|
"guards": [
|
|
{
|
|
"branch": 0,
|
|
"entry": 4
|
|
}
|
|
],
|
|
"index": 5,
|
|
"version": 1
|
|
}
|
|
},
|
|
{
|
|
"actions": [
|
|
{
|
|
"name": "X-Deliver-Scope",
|
|
"type": "set_header",
|
|
"value": "global"
|
|
},
|
|
{
|
|
"name": "X-Global-Delivery",
|
|
"type": "set_header",
|
|
"value": "global"
|
|
}
|
|
],
|
|
"conditions": [],
|
|
"enabled": true,
|
|
"id": "vcl-deliver-12",
|
|
"match": "all",
|
|
"name": "VCL vcl_deliver line 12",
|
|
"stage": "deliver",
|
|
"vcl_flow": {
|
|
"count": 7,
|
|
"group": "g1",
|
|
"index": 6,
|
|
"version": 1
|
|
}
|
|
}
|
|
],
|
|
"warnings": []
|
|
}
|
|
}
|