Skip to content

help request:Is there a way to selectively disable the proxy protocol for stream ports while keeping it enabled globally #12273

@liu1004010308

Description

@liu1004010308

Description

Hi,
I'm working with the following configuration:

proxy_protocol:
enable_tcp_pp_to_upstream: true

stream_proxy:
only: false
tcp:
- addr: 25
- addr: 465

My goal is to enable the proxy protocol for most ports, but disable it specifically for port 465.
Is there a way to selectively disable the proxy protocol for stream ports while keeping it enabled globally?
Any guidance would be appreciated!
Thanks in advance.

Environment

  • APISIX version (run apisix version): v3.3
  • Operating system (run uname -a): Linux reg.wps.lan 3.10.0-1127.el7.x86_64 change: added doc of how to load plugin. #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
  • OpenResty / Nginx version (run openresty -V or nginx -V): nginx/1.26.3
  • etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info):
  • APISIX Dashboard version, if relevant:
  • Plugin runner version, for issues related to plugin runners:
  • LuaRocks version, for installation issues (run luarocks --version):

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions