Subject: [bug#28360] [PATCH] gnu: nginx: Enable HTTP/2.0 (ngx_http_v2_module).

From: Tobias Geerinckx-Rice <[email-masked]>
Date: Tue, 5 Sep 2017 18:43:47 +0200

* gnu/packages/web.scm (nginx)[arguments]: Add ‘--with-http_v2_module’ flag.
---

Guix,

The following adds v2 listener support to our nginx package.
The majority of legitimate web traffic to my boxes is already over
HTTP/2.0 (Guix itself being the lone exception).

The protocol won't be spoken by default until upstream decides to do so;
I just got tired of maintaining this huge patch locally.

Kind regards,

T G-R

 gnu/packages/web.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index ac65a8536..377e366e2 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -162,6 +162,7 @@ and its related documentation.")
              (let ((flags
                     (list (string-append "--prefix=" (assoc-ref outputs "out"))
                           "--with-http_ssl_module"
+                          "--with-http_v2_module"
                           "--with-pcre-jit"
                           "--with-debug"
                           ;; Even when not cross-building, we pass the
-- 
2.13.1