[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: hydra: nginx: Send /packages.json and /sources.js
From: |
Ludovic Courtès |
Subject: |
branch master updated: hydra: nginx: Send /packages.json and /sources.json gzipped. |
Date: |
Mon, 09 Oct 2023 15:17:08 -0400 |
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 aa77e38 hydra: nginx: Send /packages.json and /sources.json gzipped.
aa77e38 is described below
commit aa77e3806b63d8be0c09b1b62e02550b1a6a8605
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Oct 9 21:15:27 2023 +0200
hydra: nginx: Send /packages.json and /sources.json gzipped.
This sends them as “Content-Encoding: gzip”, as a followup to
1123fd81ce2082d25d5262311ad4eae50c197ad2.
* hydra/modules/sysadmin/nginx.scm (guix.gnu.org-other-locations):
Remove “gunzip on” from /{packages,sources}.json.
---
hydra/modules/sysadmin/nginx.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hydra/modules/sysadmin/nginx.scm b/hydra/modules/sysadmin/nginx.scm
index f314075..aadcfaa 100644
--- a/hydra/modules/sysadmin/nginx.scm
+++ b/hydra/modules/sysadmin/nginx.scm
@@ -704,13 +704,13 @@ synonymous IETF language tags that should be mapped to
the same $lang."
(nginx-location-configuration
(uri "= /packages.json")
(body (list "if_modified_since exact;"
- "gzip_static always; gunzip on;\n"
+ "gzip_static always;\n"
"root /srv/package-metadata;")))
(nginx-location-configuration
(uri "= /sources.json")
(body (list "if_modified_since exact;"
- "gzip_static always; gunzip on;\n"
+ "gzip_static always;\n"
"root /srv/package-metadata;")))
(nginx-location-configuration ;certbot
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: hydra: nginx: Send /packages.json and /sources.json gzipped.,
Ludovic Courtès <=