guix-commits
[Top][All Lists]
Advanced

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

branch master updated: nginx: berlin: Work around Last-Modified issues f


From: Christopher Baines
Subject: branch master updated: nginx: berlin: Work around Last-Modified issues for guix.gnu.org.
Date: Mon, 25 May 2020 04:35:13 -0400

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

cbaines pushed a commit to branch master
in repository maintenance.

The following commit(s) were added to refs/heads/master by this push:
     new 1dbbc87  nginx: berlin: Work around Last-Modified issues for 
guix.gnu.org.
1dbbc87 is described below

commit 1dbbc8767366ef6d1d5e266d7bec5830a5fd7598
Author: Christopher Baines <address@hidden>
AuthorDate: Mon May 25 09:12:30 2020 +0100

    nginx: berlin: Work around Last-Modified issues for guix.gnu.org.
    
    * hydra/nginx/berlin.scm (%berlin-servers): Add some config to the
    nginx-server-configurations for guix.gnu.org.
---
 hydra/nginx/berlin.scm | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/hydra/nginx/berlin.scm b/hydra/nginx/berlin.scm
index 303fd35..8c90eb1 100644
--- a/hydra/nginx/berlin.scm
+++ b/hydra/nginx/berlin.scm
@@ -514,6 +514,13 @@ PUBLISH-URL."
     (locations guix.gnu.org-locations)
     (raw-content
      (list
+      ;; TODO This works around NGinx using the epoch for the
+      ;; Last-Modified date, as well as the etag.
+      ;; See http://issues.guix.info/issue/37207
+      "add_header Last-Modified \"\";"
+      "if_modified_since off;"
+      "etag off;"
+
       "access_log /var/log/nginx/guix-info.access.log;")))
 
    (nginx-server-configuration
@@ -634,6 +641,13 @@ PUBLISH-URL."
      (append
       %tls-settings
       (list
+       ;; TODO This works around NGinx using the epoch for the
+       ;; Last-Modified date, as well as the etag.
+       ;; See http://issues.guix.info/issue/37207
+       "add_header Last-Modified \"\";"
+       "if_modified_since off;"
+       "etag off;"
+
        "access_log /var/log/nginx/guix-gnu-org.https.access.log;"))))
 
    (nginx-server-configuration



reply via email to

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