hydra: bayfront: Have NGinx serve reproducible.json from QA.

This file is written and updated by the qa-frontpage, and is consumed
by https://ismypackagereproducibleyet.org/

* hydra/bayfront.scm (%qa.guix.gnu.org-nginx-servers): Serve
reproducible.json.
This commit is contained in:
Christopher Baines 2023-11-02 08:32:03 +00:00
parent 8227d5cf56
commit be2b815e9e
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 7 additions and 1 deletions

View File

@ -763,7 +763,13 @@ proxy_set_header Via $via;"
(uri "/")
(body '("proxy_pass http://qa-frontpage;"
"proxy_http_version 1.1;"
"proxy_set_header Connection \"\";"))))))))
"proxy_set_header Connection \"\";")))
(nginx-location-configuration
(uri "/reproducible.json")
(body '("alias /var/lib/qa-frontpage/reproducible.json;"
"add_header Content-Type 'text/plain; charset=UTF-8';"
"gzip_static always;"
"gunzip on;"))))))))
(define %packages.guix.gnu.org-nginx-servers
(list