civodul pushed a commit to branch master
in repository maintenance.
commit f9138f9c3b90783006bd46beb17a713b9dafd164
Author: Ludovic Courtès <[email protected]>
Date: Fri Jul 12 12:18:44 2019 +0200
nginx: bayfront: Avoid double slash in guix-hpc.bordeaux.inria.fr redirects.
* hydra/nginx/guix-hpc-inria-locations.conf: Add / to the catch-all regexps.
---
hydra/nginx/guix-hpc-inria-locations.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hydra/nginx/guix-hpc-inria-locations.conf
b/hydra/nginx/guix-hpc-inria-locations.conf
index d8bd2dc..3f25cce 100644
--- a/hydra/nginx/guix-hpc-inria-locations.conf
+++ b/hydra/nginx/guix-hpc-inria-locations.conf
@@ -12,6 +12,6 @@ location ~ /nar/(.*) {
return 301 $scheme://guix.bordeaux.inria.fr/nar/$1;
}
-location ~ (.*) {
+location ~ /(.*) {
return 301 $scheme://hpc.guix.info/$1;
}