From patchwork Sun Mar 24 18:19:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "pelzflorian (Florian Pelz)" X-Patchwork-Id: 62241 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 8D5C527BBE2; Sun, 24 Mar 2024 18:21:42 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E2B3D27BBE9 for ; Sun, 24 Mar 2024 18:21:39 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1roSTH-0004zJ-No; Sun, 24 Mar 2024 14:21:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1roSTC-0004xu-QL for guix-patches@gnu.org; Sun, 24 Mar 2024 14:21:23 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1roSTA-0003mH-Qd for guix-patches@gnu.org; Sun, 24 Mar 2024 14:21:22 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1roSTq-0007Nc-Mb for guix-patches@gnu.org; Sun, 24 Mar 2024 14:22:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69783] [PATCH v2 2/2] hydra: nginx: Further adjust to website themes in guix-artwork. References: <9cac9566-3716-1079-1d53-215cb7fa547b@zoho.com> In-Reply-To: <9cac9566-3716-1079-1d53-215cb7fa547b@zoho.com> Resent-From: Florian Pelz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 24 Mar 2024 18:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69783 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69783@debbugs.gnu.org Cc: guix-maintainers@gnu.org, Florian Pelz Received: via spool by 69783-submit@debbugs.gnu.org id=B69783.171130451628346 (code B ref 69783); Sun, 24 Mar 2024 18:22:02 +0000 Received: (at 69783) by debbugs.gnu.org; 24 Mar 2024 18:21:56 +0000 Received: from localhost ([127.0.0.1]:47405 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1roSTj-0007N7-Of for submit@debbugs.gnu.org; Sun, 24 Mar 2024 14:21:56 -0400 Received: from relay.yourmailgateway.de ([188.68.63.166]:37077) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1roSTg-0007My-U4 for 69783@debbugs.gnu.org; Sun, 24 Mar 2024 14:21:54 -0400 Received: from mors-relay-8202.netcup.net (localhost [127.0.0.1]) by mors-relay-8202.netcup.net (Postfix) with ESMTPS id 4V2ksL1Qd1z3wH0; Sun, 24 Mar 2024 19:21:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pelzflorian.de; s=key2; t=1711304470; bh=9EOWDozlQcJN/GIE0QxOqV2fxqQiKVaq0eU+9C4oNM0=; h=From:To:Cc:Subject:Date:From; b=EgRAhWgI7Z4DjjOiDUQstLXKwwTKf5kyJuQVsT7QhjHKCEhs+0c6+n+u6oKSQLyPm gFRf1p09EvsBzoDbsusi/Nxh7hhdB35zzpxQuJEtJ29K5EYiALSXSeJ/Cn1w4Ym+Zv kTngatZ+OLWSmtOJ6/TsIKJzUWdBKJk1TvMFM/VVmS+tk4CE5uGGmtKEIw5GJbd0KT J2uNIx5zKX/NpoPSdkE/HB9txiUOIG2LpPIcX2ht6PJui7vkX+aS7nHOXrKY3KYO4v qr4+EdyYRubG2Kj7+o39MwmmkRrL02bNJbw65kj1nBQr2EhitfwLv/HLZlzrsuO8JZ Lc5drJEj3qC3g== Received: from policy01-mors.netcup.net (unknown [46.38.225.35]) by mors-relay-8202.netcup.net (Postfix) with ESMTPS id 4V2ksL0zf5z3wBP; Sun, 24 Mar 2024 19:21:10 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at policy01-mors.netcup.net Received: from mxe217.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy01-mors.netcup.net (Postfix) with ESMTPS id 4V2ksB3bpsz8sZq; Sun, 24 Mar 2024 19:21:02 +0100 (CET) Received: from florianrock64.fritz.box (ip92344de0.dynamic.kabel-deutschland.de [146.52.77.224]) by mxe217.netcup.net (Postfix) with ESMTPSA id 15F2F82F36; Sun, 24 Mar 2024 19:20:55 +0100 (CET) From: Florian Pelz Date: Sun, 24 Mar 2024 19:19:50 +0100 Message-ID: <20240324182012.5026-2-pelzflorian@pelzflorian.de> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-Rspamd-Queue-Id: 15F2F82F36 X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: ZIHfAyQVWcek++5MvXx3ROUGE6Q77gDYSLYXlALNI8klZeWrcKvDEYCv 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * hydra/nginx/berlin.scm: Use /static cache settings for /themes. --- hydra/nginx/berlin.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/hydra/nginx/berlin.scm b/hydra/nginx/berlin.scm index 5ba15d1..2f8cd60 100644 --- a/hydra/nginx/berlin.scm +++ b/hydra/nginx/berlin.scm @@ -174,6 +174,16 @@ PUBLISH-URL." "proxy_cache_valid any 10m;" "proxy_ignore_client_abort on;"))) + (nginx-location-configuration + (uri "/themes") ;like "/static" above + (body + (list + "proxy_pass http://localhost:8081;" + "proxy_cache static;" + "proxy_cache_valid 200 2d;" + "proxy_cache_valid any 10m;" + "proxy_ignore_client_abort on;"))) + (nginx-location-configuration (uri "/download") ;Cuirass "build products" (body