Mercurial > hg > nginx-site
comparison 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 |
comparison
equal
deleted
inserted
replaced
2975:f8ad45c72992 | 2976:cbd963190c15 |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Module ngx_http_grpc_module" | 10 <module name="Module ngx_http_grpc_module" |
11 link="/en/docs/http/ngx_http_grpc_module.html" | 11 link="/en/docs/http/ngx_http_grpc_module.html" |
12 lang="en" | 12 lang="en" |
13 rev="9"> | 13 rev="10"> |
14 | 14 |
15 <section id="summary"> | 15 <section id="summary"> |
16 | 16 |
17 <para> | 17 <para> |
18 The <literal>ngx_http_grpc_module</literal> module allows passing requests | 18 The <literal>ngx_http_grpc_module</literal> module allows passing requests |
27 <section id="example" name="Example Configuration"> | 27 <section id="example" name="Example Configuration"> |
28 | 28 |
29 <para> | 29 <para> |
30 <example> | 30 <example> |
31 server { | 31 server { |
32 listen 9000 http2; | 32 listen 9000; |
33 | |
34 http2 on; | |
33 | 35 |
34 location / { | 36 location / { |
35 grpc_pass 127.0.0.1:9000; | 37 grpc_pass 127.0.0.1:9000; |
36 } | 38 } |
37 } | 39 } |