hnlq715 commented on issue #3496:
URL: https://github.com/apache/apisix/issues/3496#issuecomment-772204209


   @spacewander @nic-chen 
   Seems like nginx do not support h2c and http1 on the same port without ssl...
   So, maybe we need to add a new port for this?
   
   nginx issue:
   https://trac.nginx.org/nginx/ticket/816
   
   without ssl:
   ```
   
https://github.com/nginx/nginx/blob/9e07862d6e9d37041a42bbfa34dd1f56ed547505/src/http/ngx_http_request.c#L324-L331
   ```
   
   with ssl:
   ```
   
https://github.com/nginx/nginx/blob/9e07862d6e9d37041a42bbfa34dd1f56ed547505/src/http/ngx_http_request.c#L812-L831
   ```


----------------------------------------------------------------
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.

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


Reply via email to