Skip to content

allow using variable in the header of reponse-rewrite plugin #3727

Description

@belongwqz

Issue description

How do I know which node the response came from, for example:
The upstream have tow nodes(node1 and node2), how can I judge if the response comes from node1 or node2(such as the response has a cookie server:node1)?
Which plugin can I use?

Environment

  • apisix version (cmd: apisix version):
  • OS (cmd: uname -a):
  • OpenResty / Nginx version (cmd: nginx -V or openresty -V):
  • etcd version, if have (cmd: run curl http://127.0.0.1:9090/v1/server_info to get the info from server-info API):
  • apisix-dashboard version, if have:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions