comparison README @ 8929:44553428288d quic

QUIC: updated README. The ngx_http_quic_module is merged to ngx_http_v3_module. The $quic variable no longer exists, it is replaced with $http3 variable.
author Vladimir Homutov <vl@nginx.com>
date Tue, 07 Dec 2021 16:07:47 +0300
parents d6ef13c5fd8e
children 6f8253673669
comparison
equal deleted inserted replaced
8928:e06283038ec8 8929:44553428288d
82 82
83 When configuring nginx, you can enable QUIC and HTTP/3 using the 83 When configuring nginx, you can enable QUIC and HTTP/3 using the
84 following new configuration options: 84 following new configuration options:
85 85
86 --with-http_v3_module - enable QUIC and HTTP/3 86 --with-http_v3_module - enable QUIC and HTTP/3
87 --with-http_quic_module - enable QUIC for older HTTP versions
88 --with-stream_quic_module - enable QUIC in Stream 87 --with-stream_quic_module - enable QUIC in Stream
89 88
90 3. Configuration 89 3. Configuration
91 90
92 The HTTP "listen" directive got a new option "http3" which enables 91 The HTTP "listen" directive got a new option "http3" which enables
146 Example configuration: 145 Example configuration:
147 146
148 http { 147 http {
149 log_format quic '$remote_addr - $remote_user [$time_local] ' 148 log_format quic '$remote_addr - $remote_user [$time_local] '
150 '"$request" $status $body_bytes_sent ' 149 '"$request" $status $body_bytes_sent '
151 '"$http_referer" "$http_user_agent" "$quic"'; 150 '"$http_referer" "$http_user_agent" "$http3"';
152 151
153 access_log logs/access.log quic; 152 access_log logs/access.log quic;
154 153
155 server { 154 server {
156 # for better compatibility it's recommended 155 # for better compatibility it's recommended