mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-02 08:19:23 +02:00
controlplane: only add listener virtual domains for addresses matching the current TLS domain (#1823)
This commit is contained in:
parent
84e8f6cc05
commit
a14b65ec3f
5 changed files with 90 additions and 36 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue