Allow additional variables for rewrites

- as target: client.identity
- as source:
  - client.identity
  - client.ip
  - server.hostname
  - server.identity
  - server.ip
  - remote.ip
  - local.endpoint
  - local.ip
  - local.socket
parent 1eb12bba
......@@ -283,10 +283,10 @@ spec:
properties:
target:
type: string
pattern: "^(be)?(req\\.url|re(q|sp)\\.http\\.[a-zA-Z0-9!#$%&'*+.^_`|~-]+)$"
pattern: "^(client\\.identity|(be)?(req\\.url|re(q|sp)\\.http\\.[a-zA-Z0-9!#$%&'*+.^_`|~-]+))$"
source:
type: string
pattern: "^(be)?(req\\.url|re(q|sp)\\.http\\.[a-zA-Z0-9!#$%&'*+.^_`|~-]+)$"
pattern: "^(client\\.(identity|ip)|server\\.(hostname|identity|ip)|remote\\.ip|local\\.(endpoint|ip|socket)|(be)?(req\\.url|re(q|sp)\\.http\\.[a-zA-Z0-9!#$%&'*+.^_`|~-]+))$"
method:
type: string
enum:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment