Opened 5 years 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 (0)

Note: See TracTickets for help on using tickets.