Description
Hi,
As there is no NAT for IPv6 I'd like to be able to change the ports nginx listens on.
Example:
A docker container with it's own IP eg (private) 192.1.1.1 and (public) ipv6::1
In router -> publicIPv4:80 -> 192.1.1.1:8080
However if "domain.com" also has an AAAA record to ipv6::1 then the browser tries to access ipv6::1:80 and unfortunately the container does not listen on that port.
Semi-workaround
A docker container sharing the host network (with port mapping) basically has the same issue as listed above with the exception of using HOST port 80/443 (so a port mapping of 80:8080 and 443:4443). However I don't like this, this forces me to use specific hosts ports and I don't like that.
Did you have a certain way for this to function? Imo the best solution would be to listen on 80/443 (or allow the user to change those ports)