[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: hydra: bayfront: Remove nginx timeout and redirec
From: |
Ludovic Courtès |
Subject: |
branch master updated: hydra: bayfront: Remove nginx timeout and redirect for /packages.json. |
Date: |
Mon, 15 Jan 2024 15:37:44 -0500 |
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 d6310e4 hydra: bayfront: Remove nginx timeout and redirect for
/packages.json.
d6310e4 is described below
commit d6310e4944ea1acee53868358e6f46adbb00793e
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Jan 15 21:33:50 2024 +0100
hydra: bayfront: Remove nginx timeout and redirect for /packages.json.
* hydra/bayfront.scm (%hpc.guix.info-nginx-servers): Add /packages.json
location block.
---
hydra/bayfront.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/hydra/bayfront.scm b/hydra/bayfront.scm
index 0fd458e..78a7d5d 100644
--- a/hydra/bayfront.scm
+++ b/hydra/bayfront.scm
@@ -393,7 +393,11 @@ add_header X-Frame-Options SAMEORIGIN;\n")
(uri "/package/source")
(body '("proxy_pass http://localhost:5000;")))
(nginx-location-configuration
- (uri "/package")
+ ;; Likewise: no timeout or redirect on this one.
+ (uri "= /packages.json")
+ (body '("proxy_pass http://localhost:5000;")))
+ (nginx-location-configuration
+ (uri "/package/")
(body '("proxy_pass http://localhost:5000;
proxy_connect_timeout 3s;
proxy_read_timeout 2s;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: hydra: bayfront: Remove nginx timeout and redirect for /packages.json.,
Ludovic Courtès <=