mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
feature: added a patch for the nginx core to add the "local=/path/to/resolv.conf" option to the standard "resolver" config directive.
This can enable the use of system-level nameserver configurations of /etc/resolv.conf, for example, in nginx's own nonblocking DNS resolver. Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
This commit is contained in:
committed by
Yichun Zhang (agentzh)
parent
d11dee9ca8
commit
3d8b33f0e8
@ -61,6 +61,10 @@ if [ "$answer" = "Y" ]; then
|
||||
echo "$info_txt applying the stream_ssl_preread_no_skip patch for nginx"
|
||||
patch -p1 < $root/patches/nginx-$main_ver-stream_ssl_preread_no_skip.patch || exit 1
|
||||
echo
|
||||
|
||||
echo "$info_txt applying the resolver_conf_parsing patch for nginx"
|
||||
patch -p1 < $root/patches/nginx-$main_ver-resolver_conf_parsing.patch || exit 1
|
||||
echo
|
||||
fi
|
||||
|
||||
answer=`$root/util/ver-ge "$main_ver" 1.5.12`
|
||||
|
Reference in New Issue
Block a user