twellck commented on issue #12828:
URL: https://github.com/apache/apisix/issues/12828#issuecomment-3709042170

   I’ve just opened [PR #12859](https://github.com/apache/apisix/pull/12859) to 
address this issue. The configuration for `proxy_protocol` is now aligned with 
`node_listen` and `ssl.listen`, supporting multiple IPs and ports via 
`proxy_protocol.listen_http` and `proxy_protocol.listen_https`.
   
   This is a significant change, but it felt like the most sensible approach to 
ensure consistency in the `apisix/cli/ops.lua` logic. As part of this, I 
updated the configuration schema while ensuring full backward compatibility 
with the legacy fields (`proxy_protocol.listen_http_port` and 
`proxy_protocol.listen_https_port`), which are now deprecated with warnings. I 
also refactored parts of `apisix/cli/ops.lua` to make it easier to align all 
listener configurations in the future.
   
   Happy to discuss further in the PR! 👍 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to