guix-commits
[Top][All Lists]
Advanced

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

01/03: hydra: berlin: Add long ‘Cache-Control’ on /robots.txt.


From: Ludovic Courtès
Subject: 01/03: hydra: berlin: Add long ‘Cache-Control’ on /robots.txt.
Date: Fri, 4 Oct 2024 17:46:08 -0400 (EDT)

civodul pushed a commit to branch master
in repository maintenance.

commit 7f1bd5aa9aa45697bbbf9898b57eb362ae185387
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Oct 4 22:21:31 2024 +0200

    hydra: berlin: Add long ‘Cache-Control’ on /robots.txt.
    
    * hydra/nginx/berlin.scm (publish-locations): Add “expires” directive
    for /robots.txt.
---
 hydra/nginx/berlin.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/hydra/nginx/berlin.scm b/hydra/nginx/berlin.scm
index df71c095..4d1eeb2c 100644
--- a/hydra/nginx/berlin.scm
+++ b/hydra/nginx/berlin.scm
@@ -1,5 +1,5 @@
 ;; Nginx configuration for ci.guix.gnu.org
-;; Copyright © 2016-2022 Ludovic Courtès <ludo@gnu.org>
+;; Copyright © 2016-2022, 2024 Ludovic Courtès <ludo@gnu.org>
 ;; Copyright © 2017, 2018, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
 ;; Copyright © 2020 Christopher Baines <mail@cbaines.net>
 ;; Copyright © 2020, 2021 Florian Pelz <pelzflorian@pelzflorian.de>
@@ -138,6 +138,7 @@ Allow: /$\r
           #~(string-append "try_files "
                            #$(plain-file "robots.txt" publish-robots.txt)
                            " =404;")
+           "expires 365d;"
           "root /;")))))
 
 (define %ci-onion



reply via email to

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