فهرست منبع

nghttp2: docs updated to use the proper $nghttp2(path) variable

Daniel-Constantin Mierla 2 ماه پیش
والد
کامیت
b513666f76
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      src/modules/nghttp2/doc/nghttp2_admin.xml

+ 2 - 2
src/modules/nghttp2/doc/nghttp2_admin.xml

@@ -182,7 +182,7 @@ event_route[nghttp2:request] {
         <para>
 			Inside it, the $nghttp2(...) group of variables is available, giving
 			access to several attributes of the HTTP request, such as method,
-			URL, data (body) or headers.
+			URL path, data (body) or headers.
         </para>
         <programlisting  format="linespecific">
 ...
@@ -190,7 +190,7 @@ event_route[nghttp2:request] {
 loadmodule "nghttp2.so
 ...
 event_route[nghttp2:request] {
-    xinfo("request: $nghttp2(method) - url: $nghttp2(url) - data: [$nghttp2(data)]\n");
+    xinfo("request: $nghttp2(method) - url: $nghttp2(path) - data: [$nghttp2(data)]\n");
     nghttp2_reply("200", "OK", "text/html",
         "&lt;html&gt;&lt;body&gt;OK&lt;/body&gt;&lt;/html&gt;");
 }