Message ID | 20240324182012.5026-2-pelzflorian@pelzflorian.de |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> 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 <patchwork@mira.cbaines.net>; 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 <guix-patches-bounces@gnu.org>) 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 <Debian-debbugs@debbugs.gnu.org>) 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 <Debian-debbugs@debbugs.gnu.org>) 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 <Debian-debbugs@debbugs.gnu.org>) 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 <pelzflorian@pelzflorian.de> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 24 Mar 2024 18:22:02 +0000 Resent-Message-ID: <handler.69783.B69783.171130451628346@debbugs.gnu.org> 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 <pelzflorian@pelzflorian.de> 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 <debbugs-submit-bounces@debbugs.gnu.org>) 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 <pelzflorian@pelzflorian.de>) 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 <pelzflorian@pelzflorian.de> 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 Content-Transfer-Encoding: 8bit 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: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=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 |
Series |
[bug#69783] : website: Convert old style sheets into a theme
|
|
Commit Message
pelzflorian (Florian Pelz)
March 24, 2024, 6:19 p.m. UTC
* hydra/nginx/berlin.scm: Use /static cache settings for /themes. --- hydra/nginx/berlin.scm | 10 ++++++++++ 1 file changed, 10 insertions(+)
Comments
Hi Florian, Florian Pelz <pelzflorian@pelzflorian.de> skribis: > * hydra/nginx/berlin.scm: Use /static cache settings for /themes. I hadn’t noticed your message and did this: https://git.savannah.gnu.org/cgit/guix/maintenance.git/commit/?id=ef0e3bf584a66ac14ff230da54c7d25d0fdf0129 > 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 If I’m not mistaken, I think this is the wrong place: ‘berlin-locations’ returns locations for ci.guix.gnu.org (Cuirass), not for the web site. There’s no /themes in Cuirass. Am I right? Thanks, Ludo’. PS: The private guix-sysadmin@gnu.org mailing list is probably a better contact point for these things (if you wish to subscribe, feel free to do so!).
Thank you Ludo. Ludovic Courtès <ludo@gnu.org> writes: > Florian Pelz <pelzflorian@pelzflorian.de> skribis: > > > * hydra/modules/sysadmin/nginx.scm (guix.gnu.org-redirect-locations): > > Redirect /static to the new /themes location to fix the 1.4.0 manual. > > Good catch. Pushed, thanks! I deployed it on bayfront just now. It was Luis’ catch. > I guess we can close now? Yes, closing. > Hi Florian, > > Florian Pelz <pelzflorian@pelzflorian.de> skribis: > >> * hydra/nginx/berlin.scm: Use /static cache settings for /themes. > > I hadn’t noticed your message and did this: > > https://git.savannah.gnu.org/cgit/guix/maintenance.git/commit/?id=ef0e3bf584a66ac14ff230da54c7d25d0fdf0129 > >> 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 > > If I’m not mistaken, I think this is the wrong place: ‘berlin-locations’ > returns locations for ci.guix.gnu.org (Cuirass), not for the web site. > There’s no /themes in Cuirass. Am I right? Of course you are absolutely right. I lost touch and had not known about the separation of CI (which like Luis’ separation of themes in guix-artwork is a good thing): commit 4cf3743e0daddac99ff71a151a5fd37cbe874493 Author: Ludovic Courtès <ludo@gnu.org> Date: Tue Dec 21 23:34:35 2021 +0100 hydra: Add (sysadmin nginx) module. This factorizes the guix.gnu.org web site configuration. The nginx.conf derivation for berlin.scm is left unchanged. * hydra/nginx/berlin.scm (le, redirect, %tls-settings) (guix.gnu.org-redirect-locations, languages-to-accept) (guix.gnu.org-redirects-for-each-language) (guix.gnu.org-other-locations, accept-languages): Move to... * hydra/modules/sysadmin/nginx.scm: ... here. * hydra/nginx/berlin.scm (%berlin-servers): Use GUIX.GNU.ORG-NGINX-SERVER instead of the inline copy. and did not know the purpose of bayfront. > Thanks, > Ludo’. > > PS: The private guix-sysadmin@gnu.org mailing list is probably a better > contact point for these things (if you wish to subscribe, feel free > to do so!). I should have known. I do not wish to subscribe, though. Regards, Florian
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