* 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 -- 2.26.2