Opened 3 years ago

Last modified 8 months ago

#1788 new enhancement

stream proxy_pass ipv6 first

Reported by: pyrrhudite@… Owned by:
Priority: minor Milestone:
Component: nginx-module Version: 1.15.x
Keywords: proxy_pass resolver Cc:
uname -a:
nginx -V: nginx/1.15.8

Description

When A and AAAA recoreds are returned, any one of them would be taken in a round-robin fashion. Thus do hope a parameter could be added here, just to claim explicitly the ipv6 or ipv4 priority.

server {

ssl_preread on;
resolver 1.1.1.1;
proxy_pass $ssl_preread_server_name;

}

Change History (1)

comment:1 by Maxim Dounin, 8 months ago

See also #2196.

Note: See TracTickets for help on using tickets.