Baoyuantop commented on issue #12828:
URL: https://github.com/apache/apisix/issues/12828#issuecomment-3685239061
Currently, if IPv6 and proxy_protocol are enabled like:
```
apisix:
enable_ipv6: true
proxy_protocol:
listen_http_port: 9181
listen_https_port: 9182
enable_tcp_pp: true
enable_tcp_pp_to_upstream: true
```
The final Nginx configuration generated by APISIX is:
```
listen 0.0.0.0:9080 default_server reuseport;
listen [::]:9080 default_server reuseport;
listen 0.0.0.0:9443 ssl default_server reuseport;
listen [::]:9443 ssl default_server reuseport;
listen 9181 default_server proxy_protocol;
listen 9182 ssl default_server proxy_protocol;
```
The port configured for proxy_protocol does not listen on IPv6 addresses,
which is a potential bug that requires fixing. We need to dynamically generate
the corresponding Nginx configuration for proxy_protocol based on the
enable_ipv6 setting.
Welcome to submit a PR to modify this issue @twellck
--
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]