diff xml/en/docs/http/ngx_http_grpc_module.xml @ 2976:cbd963190c15

Documented the http2 directive.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 13 Jun 2023 16:04:45 +0100
parents 37e082fd009c
children
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_grpc_module.xml	Tue Jun 13 18:15:59 2023 +0300
+++ b/xml/en/docs/http/ngx_http_grpc_module.xml	Tue Jun 13 16:04:45 2023 +0100
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_grpc_module"
         link="/en/docs/http/ngx_http_grpc_module.html"
         lang="en"
-        rev="9">
+        rev="10">
 
 <section id="summary">
 
@@ -29,7 +29,9 @@
 <para>
 <example>
 server {
-    listen 9000 http2;
+    listen 9000;
+
+    http2 on;
 
     location / {
         grpc_pass 127.0.0.1:9000;