wdaike / ngx_upstream_jdomain

An asynchronous domain name resolve module for nginx upstream
78 stars 32 forks source link

Adding support for a fallback address #18

Closed nicholaschiasson closed 2 years ago

nicholaschiasson commented 4 years ago

Adding a fallback argument, which when supplied will not only allow nginx to start in the case where domain name resolution fails, but also allows the user to configure the IP and port combo to be used in place on the unresolvable domain.

nicholaschiasson commented 4 years ago

@wdaike @rs Could you please review this? Still draft because I need to clean the PR up, but I believe ngx_http_upstream_jdomain.c is ready for review.