3 ms·
Hmm, does anyone know how to support SPDY and HTTP/2 on a nginx>=1.9.5 and which has only module "ngx_http_v2_module" build inside? What is the configuration fo
by therealmarv 11y ago
Hmm, does anyone know how to support SPDY and HTTP/2 on a nginx>=1.9.5 and which has only module "ngx_http_v2_module" build inside? What is the configuration for nginx to support SPDY and HTTP/2 ?
- jgrahamc 11y agoWe developed our own patch to NGINX that allows it to support both SPDY/3.1 and HTTP/2 and to negotiate correctly. Stock NGINX allows you to have one or the other, but not both.
- therealmarv 11y agoWould be nice to see that patch open sourced (at least I can hope) ;) :)
- jgrahamc 11y agoI'm sure we will. We open source pretty much everything we can (i.e. we don't open source stuff that's too complex to extract from our business logic).
- chriselsen 11y agoStay tuned for that. Not all gifts at once. ;-)
- newman314 11y agoI believe it's either or but not both.
- deleted 11y ago[deleted]
- mei0Iesh 11y agoYou can't: "This patch replaces the SPDY module in NGINX." https://www.nginx.com/blog/http2-r7/ https://www.nginx.com/blog/http2-r7/ "Before installing the nginx‑plus‑http2 package, you must remove the spdy parameter on all listen directives in your configuration (replace it with the http2 and ssl parameters to enable support for HTTP/2). With this package, NGINX Plus fails to start if any listen directives have the spdy parameter. NGINX Plus R7 supports both SPDY and HTTP/2. In a future release we will deprecate support for SPDY. Google is deprecating SPDY in early 2016, making it unnecessary to support both protocols at that point."