Skip to content

Commit

Permalink
Added configuration file to run the hello_world policy locally
Browse files Browse the repository at this point in the history
  • Loading branch information
pimg committed Apr 29, 2019
1 parent dd8c984 commit 898c974
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions apicast/examples/configuration/hello_world_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"services": [
{
"proxy": {
"policy_chain": [
{
"name": "hello_world",
"version": "builtin",
"configuration": {
"overwrite": true,
"secret": "mysecret"
}
},
{
"name": "apicast.policy.upstream",
"configuration": {
"rules": [
{
"regex": "/",
"url": "http://echo:8081"
}
]
}
}
]
}
}
]
}

0 comments on commit 898c974

Please sign in to comment.