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:
parent
58bd4453c8
commit
aa77e3806b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue