# HG changeset patch # User Yaroslav Zhuravlev # Date 1683618185 -3600 # Node ID b2bb7aa090da2bbee9855d36f592527521ab1a48 # Parent cebca5ba84d7d7af7cdb1658af36b18bc3208bd8 Updated ngx.fetch description in njs Reference. diff -r cebca5ba84d7 -r b2bb7aa090da xml/en/docs/njs/reference.xml --- a/xml/en/docs/njs/reference.xml Wed May 03 13:15:55 2023 +0100 +++ b/xml/en/docs/njs/reference.xml Tue May 09 08:43:05 2023 +0100 @@ -9,7 +9,7 @@
+ rev="104">
@@ -1161,6 +1161,7 @@ ngx.fetch(resource, [options]) + Makes a request to fetch a resource (0.5.1), which can be an URL or the Request object @@ -1170,6 +1171,18 @@ Since 0.7.0, the https:// scheme is supported, redirects are not handled. + + + +If the URL in the resource is specified as a domain name, +it is determined using a +. +If the https:// scheme is specified, the + +directive should be configured +for the authentication of the resource's HTTPS server. + + The options parameter is expected to be an object with the following keys: