guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: hydra: bayfront: Fix nginx syntax error in /stati


From: Ludovic Courtès
Subject: branch master updated: hydra: bayfront: Fix nginx syntax error in /static/fonts block.
Date: Mon, 18 Dec 2023 09:08:02 -0500

This is an automated email from the git hooks/post-receive script.

civodul pushed a commit to branch master
in repository maintenance.

The following commit(s) were added to refs/heads/master by this push:
     new 55acd27  hydra: bayfront: Fix nginx syntax error in /static/fonts 
block.
55acd27 is described below

commit 55acd27b75f2e6731ba55b761008c3b7555149e8
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Dec 18 15:07:17 2023 +0100

    hydra: bayfront: Fix nginx syntax error in /static/fonts block.
    
    * hydra/bayfront.scm (%hpc.guix.info-nginx-servers): Fix /static/fonts
    block.
---
 hydra/bayfront.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/hydra/bayfront.scm b/hydra/bayfront.scm
index a63ee46..68906c3 100644
--- a/hydra/bayfront.scm
+++ b/hydra/bayfront.scm
@@ -411,8 +411,9 @@ add_header X-Frame-Options SAMEORIGIN;\n")
           ;; Improve caching for CSS, images, fonts, etc.
           (nginx-location-configuration
            (uri "/static/fonts")                  ;.ttf files don't change
-           (body `("add_header Cache-Control max-age="
-                   ,(number->string (* 3600 24 30)) ";")))
+           (body `(,(string-append
+                     "add_header Cache-Control max-age="
+                     (number->string (* 3600 24 30))) ";")))
           (nginx-location-configuration
            (uri "/static")
            (body '("add_header Cache-Control max-age=21600;")))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]