controlplane: only add listener virtual domains for addresses matching the current TLS domain (#1823)

This commit is contained in:
Caleb Doxsey 2021-01-26 09:01:24 -07:00 committed by GitHub
parent 84e8f6cc05
commit a14b65ec3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 90 additions and 36 deletions

View file

@ -16,6 +16,7 @@ var luascripts struct {
ExtAuthzSetCookie string
CleanUpstream string
RemoveImpersonateHeaders string
FixMisdirected string
}
func init() {
@ -28,6 +29,7 @@ func init() {
"/clean-upstream.lua": &luascripts.CleanUpstream,
"/ext-authz-set-cookie.lua": &luascripts.ExtAuthzSetCookie,
"/remove-impersonate-headers.lua": &luascripts.RemoveImpersonateHeaders,
"/fix-misdirected.lua": &luascripts.FixMisdirected,
}
err = fs.Walk(hfs, "/", func(p string, fi os.FileInfo, err error) error {