tzssangglass commented on issue #7125:
URL: https://github.com/apache/apisix/issues/7125#issuecomment-1280563691

   > I reproduce it again, if I enable http2, then it returns 502 with no error 
log as blow.
   > If I close it and recreate the docker container, it runs well.
   
   It looks like you're deploying with docker, I'm wondering how you turned 
http2 on or off? Modify the config file and rebuild the APISIX docker?
   
   > And I find one more thing, even with http2 = false, web can also use h2 
proto
   
   This is just a web page that shows that it uses the http2 protocol, it does 
not mean that APISIX actually handles the http2 protocol. In general, we focus 
on the `/usr/loca/apisix/conf/nginx.conf`.
   
   if you enable http2 in `config.yaml` like:
   
   ```yaml
   apisix:
     node_listen:
       - port: 9080
         enable_http2: true
   ```
   
    the `/usr/loca/apisix/conf/nginx.conf` mabe have `http2` like:
   
   ```nginx
       server {
           listen 0.0.0.0:9080 default_server http2 reuseport;
   
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to