hydra: nginx: Send /packages.json and /sources.json gzipped.

This sends them as “Content-Encoding: gzip”, as a followup to
1123fd81ce.

* hydra/modules/sysadmin/nginx.scm (guix.gnu.org-other-locations):
Remove “gunzip on” from /{packages,sources}.json.
This commit is contained in:
Ludovic Courtès 2023-10-09 21:15:27 +02:00
parent 58bd4453c8
commit aa77e3806b
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 2 additions and 2 deletions

View File

@ -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