mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-06 04:42:56 +02:00
config: add support for set_response_headers in a policy (#2171)
* config: add support for set_response_headers in a policy * docs: add note about precedence
This commit is contained in:
parent
129df47f9c
commit
69576cffe4
6 changed files with 514 additions and 471 deletions
|
@ -1507,6 +1507,14 @@ settings:
|
|||
- X-Email
|
||||
- X-Username
|
||||
```
|
||||
- name: "Set Response Headers"
|
||||
keys: ["set_response_headers"]
|
||||
attributes: |
|
||||
- Config File Key: `set_response_headers`
|
||||
- Type: map of `strings` key value pairs
|
||||
- Optional
|
||||
doc: |
|
||||
Set Response Headers allows you to set static values for the given response headers. These headers will take precedence over the global `set_response_headers`.
|
||||
- name: "Rewrite Response Headers"
|
||||
keys: ["rewrite_response_headers"]
|
||||
attributes: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue