aboutsummaryrefslogtreecommitdiffhomepage
path: root/dhall/server/service/plugin/Config.dhall
diff options
context:
space:
mode:
authorpaulrbr-fl <43074087+paulrbr-fl@users.noreply.github.com>2020-01-02 16:25:37 +0100
committerGitHub <noreply@github.com>2020-01-02 16:25:37 +0100
commit25250c8c24a3c0b32c92eee5552ad7156115f03c (patch)
tree02c178a19be0e233813600531c85ef7ad5e4c51c /dhall/server/service/plugin/Config.dhall
parent027a2fa61a6044b2e967b29195312e4d98a96078 (diff)
parenta3c4b3d5444e5d79afbd823a9acc12220a91f41f (diff)
downloadansible-kong-app-25250c8c24a3c0b32c92eee5552ad7156115f03c.tar.gz
ansible-kong-app-25250c8c24a3c0b32c92eee5552ad7156115f03c.tar.zst
ansible-kong-app-25250c8c24a3c0b32c92eee5552ad7156115f03c.zip
Merge pull request #18 from paulrbr-fl/pre-function-pluginsv0.30
config(dhall): add a pre-function lua definition for HTTPS redirects
Diffstat (limited to 'dhall/server/service/plugin/Config.dhall')
-rw-r--r--dhall/server/service/plugin/Config.dhall11
1 files changed, 5 insertions, 6 deletions
diff --git a/dhall/server/service/plugin/Config.dhall b/dhall/server/service/plugin/Config.dhall
index ea53361..1f60080 100644
--- a/dhall/server/service/plugin/Config.dhall
+++ b/dhall/server/service/plugin/Config.dhall
@@ -1,9 +1,8 @@
1< CorrelationId : 1< CorrelationId :
2 { header_name : Text, echo_downstream : Bool, generator : Text } 2 { header_name : Text, echo_downstream : Bool, generator : Text }
3| RequestTransformer : 3| RequestTransformer : { add : { headers : List Text } }
4 { add : { headers : List Text } }
5| RequestTermination : 4| RequestTermination :
6 { status_code : Natural, content_type : Text, body : Text } 5 { status_code : Natural, content_type : Text, body : Text }
7| IPRestriction : 6| IPRestriction : { whitelist : Text }
8 { whitelist : Text } 7| PreFunction : { functions : List Text }
9> 8>