add support to add headers to all vhosts
This commit is contained in:
parent
be5b2f4bae
commit
b926014bdf
3 changed files with 10 additions and 2 deletions
|
|
@ -33,6 +33,9 @@ php: False
|
|||
# dict of ips to accept "X-Forwarded-~" from
|
||||
real_ip_from: {"127.0.0.1": {}, "::1": {}}
|
||||
|
||||
# array of headers to add on *all* vhosts
|
||||
add_headers: []
|
||||
|
||||
```
|
||||
|
||||
**upstreamconfig**:
|
||||
|
|
@ -72,6 +75,9 @@ custom: []
|
|||
|
||||
# array of locations, see below
|
||||
locations: [*locationconfig*, .. ]
|
||||
|
||||
# array of headers to add on this vhost
|
||||
add_headers: []
|
||||
```
|
||||
|
||||
**locationconfig**:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue