Skip to content

Commit

Permalink
Merge pull request #18 from dream11/github-pages-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvd11 authored May 11, 2021
2 parents 77c791b + 52df6dd commit 1fd5949
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ luarocks install host-interpolate-by-header
Clone this repo and run:

luarocks make
-------------------------

------------------
You also need to set the `KONG_PLUGINS` environment variable:

export KONG_PLUGINS=host-interpolate-by-header
Expand All @@ -65,7 +66,7 @@ You also need to set the `KONG_PLUGINS` environment variable:

| Parameter | Default | Required | description |
| --- | --- | --- | --- |
| `host` | hostname-<PLACE_HOLDER>.com | true | Hostname of upstream service |
| `host` | hostname-\<PLACE_HOLDER\>.com | true | Hostname of upstream service |
| `headers` | {} | true | array of headers read from request for interpolation |
| `operation` | none | false | Operation to apply on header value (none/modulo) |
| `modulo_by` | 1 | false | Number to do modulo by when operation = modulo |
Expand Down

0 comments on commit 1fd5949

Please sign in to comment.