Baoyuantop commented on PR #12859:
URL: https://github.com/apache/apisix/pull/12859#issuecomment-3717063855

   Hi @twellck, For the original problem, we only needed to add IPv6 listening 
to the template; the current modifications are too complex.
   
   ```
   {% if proxy_protocol and proxy_protocol.listen_http_port then %}
   listen {* proxy_protocol.listen_http_port *} default_server proxy_protocol;
   {% if enable_ipv6 then %}
   listen [::]:{* proxy_protocol.listen_http_port *} default_server 
proxy_protocol;
   {% end %}
   {% end %}
   ```


-- 
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