zll600 commented on code in PR #11010:
URL: https://github.com/apache/apisix/pull/11010#discussion_r1515953452


##########
apisix/cli/ngx_tpl.lua:
##########
@@ -631,12 +631,15 @@ http {
         {% if enable_http2 then %}
         http2 on;
         {% end %}
+        {% if enable_http3_global then %}

Review Comment:
   > Does that mean http3 is enabled globally?
   
   yes, I use `enable_http3` to determine whether to add the `quic` parameter 
in [listen directive](https://nginx.org/en/docs/http/ngx_http_core_module.html)
   > The quic parameter (1.25.0) configures the port to accept 
[QUIC](https://nginx.org/en/docs/http/ngx_http_v3_module.html) connections.
   
   I use `enable_http3_global` to determine whether to enable [http3 
directive](https://nginx.org/en/docs/http/ngx_http_v3_module.html) 
   > Syntax:    http3 on | off;
   Default:     
   http3 on;
   Context:     http, server
   
   to enable `http3`, you need to enable one `quic` port first.
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to