Skip to content

Commit

Permalink
Modify the demo configuration file. (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
wanpf authored Nov 5, 2023
1 parent a711c89 commit c06c5fa
Show file tree
Hide file tree
Showing 37 changed files with 11,420 additions and 11,423 deletions.
7 changes: 4 additions & 3 deletions demo/load-balancer/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,12 @@
"Interval": 10,
"MaxFails": 3,
"FailTimeout": 30,
"Uri": "/",
"Path": "/",
"Matches": [
{
"Type": "status",
"Value": "200"
"StatusCodes": [
200
]
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion demo/static-web/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,4 @@
"tcp/forward.js"
]
}
}
}
2 changes: 1 addition & 1 deletion pjs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,4 @@
]
},
"Version": "0"
}
}
7 changes: 4 additions & 3 deletions pjs/samples/basic-auth/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,12 @@
"Interval": 10,
"MaxFails": 3,
"FailTimeout": 30,
"Uri": "/",
"Path": "/",
"Matches": [
{
"Type": "status",
"Value": "200"
"StatusCodes": [
200
]
}
]
},
Expand Down
7 changes: 3 additions & 4 deletions pjs/samples/fault-injection/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,10 @@
"Interval": 10,
"MaxFails": 3,
"FailTimeout": 30,
"Uri": "/",
"Path": "/",
"Matches": [
{
"Type": "status",
"Value": [
"StatusCodes": [
200
]
}
Expand Down Expand Up @@ -246,4 +245,4 @@
]
},
"Version": "0"
}
}
2 changes: 1 addition & 1 deletion pjs/samples/header-modifier/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,4 @@
]
},
"Version": "0"
}
}
21 changes: 9 additions & 12 deletions pjs/samples/health-check/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,20 +45,17 @@
"Interval": 10,
"MaxFails": 3,
"FailTimeout": 30,
"Uri": "/",
"Path": "/",
"Matches": [
{
"Type": "status",
"Value": "200"
},
{
"Type": "body",
"Value": "apache2.conf"
},
{
"Type": "headers",
"Name": "Server",
"Value": "Apache/2.4.41 (Ubuntu)"
"StatusCodes": [
200,
201
],
"Body": "OK",
"Headers": {
"Server": "pipy"
}
}
]
},
Expand Down
5 changes: 2 additions & 3 deletions pjs/samples/proxy-redirect/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,10 @@
"Interval": 10,
"MaxFails": 3,
"FailTimeout": 30,
"Uri": "/",
"Path": "/",
"Matches": [
{
"Type": "status",
"Value": [
"StatusCodes": [
200
]
}
Expand Down
Loading

0 comments on commit c06c5fa

Please sign in to comment.