[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: hydra: nginx: No longer redirect /nar/guix requests.
From: |
Ludovic Courtès |
Subject: |
01/01: hydra: nginx: No longer redirect /nar/guix requests. |
Date: |
Mon, 24 Jun 2019 04:19:09 -0400 (EDT) |
civodul pushed a commit to branch master
in repository maintenance.
commit 37c2348d72559f9c475cf9250ecef7b322223c1c
Author: Ludovic Courtès <address@hidden>
Date: Mon Jun 24 10:16:49 2019 +0200
hydra: nginx: No longer redirect /nar/guix requests.
Fixes <https://bugs.gnu.org/36299>.
Reported by Ryan Prior <address@hidden>
and Danny Milosavljevic <address@hidden>.
* hydra/nginx/hydra.gnu.org-locations.conf: Use "location /" instead of
a regexp because regexps are matched before anything else, and thus
/nar/guix would also be redirected.
---
hydra/nginx/hydra.gnu.org-locations.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hydra/nginx/hydra.gnu.org-locations.conf
b/hydra/nginx/hydra.gnu.org-locations.conf
index 6f426dc..65df531 100644
--- a/hydra/nginx/hydra.gnu.org-locations.conf
+++ b/hydra/nginx/hydra.gnu.org-locations.conf
@@ -99,6 +99,6 @@ location /.well-known {
}
# Bye bye!
-location ~ . {
+location / {
return 301 https://ci.guix.gnu.org;
}