mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-28 16:37:24 +02:00
config: add rewrite_response_headers option (#1961)
* add lua script to rewrite response headers * add policy config * update docs
This commit is contained in:
parent
b6ec01f377
commit
7f6107051f
12 changed files with 348 additions and 35 deletions
|
@ -12,6 +12,7 @@ var luascripts struct {
|
|||
ExtAuthzSetCookie string
|
||||
CleanUpstream string
|
||||
RemoveImpersonateHeaders string
|
||||
RewriteHeaders string
|
||||
FixMisdirected string
|
||||
}
|
||||
|
||||
|
@ -20,6 +21,7 @@ func init() {
|
|||
"luascripts/clean-upstream.lua": &luascripts.CleanUpstream,
|
||||
"luascripts/ext-authz-set-cookie.lua": &luascripts.ExtAuthzSetCookie,
|
||||
"luascripts/remove-impersonate-headers.lua": &luascripts.RemoveImpersonateHeaders,
|
||||
"luascripts/rewrite-headers.lua": &luascripts.RewriteHeaders,
|
||||
"luascripts/fix-misdirected.lua": &luascripts.FixMisdirected,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue