From patchwork Fri Jun 4 20:29:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 29931 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2FE4027BC81; Fri, 4 Jun 2021 21:30:25 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id ED82C27BC78 for ; Fri, 4 Jun 2021 21:30:24 +0100 (BST) Received: from localhost ([::1]:59502 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpGSV-0000YR-PE for patchwork@mira.cbaines.net; Fri, 04 Jun 2021 16:30:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41464) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpGSA-0000Y0-UC for guix-patches@gnu.org; Fri, 04 Jun 2021 16:30:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36401) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lpGSA-0000N8-MN for guix-patches@gnu.org; Fri, 04 Jun 2021 16:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lpGSA-0000Xb-HS for guix-patches@gnu.org; Fri, 04 Jun 2021 16:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48838] [PATCH] gnu: nginx: Build with support for a few more modules. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 04 Jun 2021 20:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48838 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48838@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16228385531992 (code B ref -1); Fri, 04 Jun 2021 20:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Jun 2021 20:29:13 +0000 Received: from localhost ([127.0.0.1]:47947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpGRN-0000W3-Bo for submit@debbugs.gnu.org; Fri, 04 Jun 2021 16:29:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:46664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpGRI-0000Vt-W7 for submit@debbugs.gnu.org; Fri, 04 Jun 2021 16:29:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41214) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpGRI-0000C5-PH for guix-patches@gnu.org; Fri, 04 Jun 2021 16:29:08 -0400 Received: from mira.cbaines.net ([212.71.252.8]:50402) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpGRG-0008Af-9o for guix-patches@gnu.org; Fri, 04 Jun 2021 16:29:08 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:8ac0:b4c7:f5c8:7caa]) by mira.cbaines.net (Postfix) with ESMTPSA id 9230527BC78 for ; Fri, 4 Jun 2021 21:29:04 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 3f2e3636 for ; Fri, 4 Jun 2021 20:29:04 +0000 (UTC) From: Christopher Baines Date: Fri, 4 Jun 2021 21:29:04 +0100 Message-Id: <20210604202904.28218-1-mail@cbaines.net> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Received-SPF: pass client-ip=212.71.252.8; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches I think this is generally useful. Personally, I want the HTTP gzip static and gunzip ones for serving gzip compressed log files, and I spotted that the HTTP sub and addition ones are easy to enable as well. * gnu/packages/web.scm (nginx)[arguments]: Add the following configure flags: --with-http_gzip_static_module, --with-http_gunzip_module, --with-http_addition_module, --with-http_sub_module. --- gnu/packages/web.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 4753eca8da..15befe7e6d 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -399,6 +399,10 @@ the same, being completely separated from the Internet.") "--with-http_ssl_module" "--with-http_v2_module" "--with-http_xslt_module" + "--with-http_gzip_static_module" + "--with-http_gunzip_module" + "--with-http_addition_module" + "--with-http_sub_module" "--with-pcre-jit" "--with-debug" "--with-stream"