Add function helpers to nginx template
This commit is contained in:
parent
fbff29d1ec
commit
15cc763b2d
1 changed files with 5 additions and 0 deletions
|
@ -52,6 +52,11 @@ var (
|
|||
"buildProxyPass": buildProxyPass,
|
||||
"buildRateLimitZones": buildRateLimitZones,
|
||||
"buildRateLimit": buildRateLimit,
|
||||
"contains": strings.Contains,
|
||||
"hasPrefix": strings.HasPrefix,
|
||||
"hasSuffix": strings.HasSuffix,
|
||||
"toUpper": strings.ToUpper,
|
||||
"toLower": strings.ToLower,
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue