]> git.immae.eu Git - github/fretlink/ansible-kong-app.git/blob - dhall/server/service/plugin/mkIPRestriction.dhall
config(dhall): add a pre-function lua definition for HTTPS redirects
[github/fretlink/ansible-kong-app.git] / dhall / server / service / plugin / mkIPRestriction.dhall
1 let Plugin = ./Plugin.dhall
2
3 let config = ./Config.dhall
4
5 in λ(whiteList : Text)
6 → { name =
7 "ip-restriction"
8 , config =
9 config.IPRestriction { whitelist = whiteList }
10 }
11 : Plugin