Mercurial > hg > nginx-quic
comparison README @ 8005:6e84524886d4 quic
QUIC: updated README to mention "quic" listen parameter.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Wed, 22 Jul 2020 13:45:34 +0300 |
parents | 3c32717d7bb2 |
children | affb0245e291 |
comparison
equal
deleted
inserted
replaced
8004:d0ac4449a07f | 8005:6e84524886d4 |
---|---|
87 --with-cc-opt="-I../boringssl/include" \ | 87 --with-cc-opt="-I../boringssl/include" \ |
88 --with-ld-opt="-L../boringssl/build/ssl \ | 88 --with-ld-opt="-L../boringssl/build/ssl \ |
89 -L../boringssl/build/crypto" | 89 -L../boringssl/build/crypto" |
90 $ make | 90 $ make |
91 | 91 |
92 When configuring nginx, you can enable QUIC and HTTP/3 using the | |
93 following new configuration options: | |
94 | |
95 --with-http_v3_module - enable QUIC and HTTP/3 | |
96 --with-http_quic_module - enable QUIC for older HTTP versions | |
97 --with-stream_quic_module - enable QUIC in Stream | |
98 | |
92 3. Configuration | 99 3. Configuration |
93 | 100 |
94 The "listen" directive got a new option: "http3" | 101 The HTTP "listen" directive got two new options: "http3" and "quic". |
95 which enables HTTP/3 over QUIC on the specified port. | 102 The "http3" option enables HTTP/3 over QUIC on the specified port. |
96 | 103 The "quic" option enables QUIC for older HTTP versions on this port. |
97 Along with "http3", you also have to specify "reuseport" option [6] | 104 |
98 to make it work properly with multiple workers. | 105 The Stream "listen" directive got a new option "quic" which enables |
106 QUIC as client transport protocol instead of TCP or plain UDP. | |
107 | |
108 Along with "http3" or "quic", you also have to specify "reuseport" | |
109 option [6] to make it work properly with multiple workers. | |
99 | 110 |
100 A number of directives were added that specify transport parameter values: | 111 A number of directives were added that specify transport parameter values: |
101 | 112 |
102 quic_max_idle_timeout | 113 quic_max_idle_timeout |
103 quic_max_ack_delay | 114 quic_max_ack_delay |