From 95826edf7a64eb5e1416c34187053b08bd94f067 Mon Sep 17 00:00:00 2001
From: Ben Morrice <morrice@cern.ch>
Date: Thu, 16 May 2024 11:39:08 +0200
Subject: [PATCH] testing

---
 nginx-default-cfg/redirect.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nginx-default-cfg/redirect.conf b/nginx-default-cfg/redirect.conf
index b522fe941..d96cfd0f5 100644
--- a/nginx-default-cfg/redirect.conf
+++ b/nginx-default-cfg/redirect.conf
@@ -50,7 +50,7 @@ location /linux/ {
 }
 
 # linux.web.cern.ch/path/index.shtml should now redirect to linux.web.cern.ch/path/
-if ($request_uri ~ ^/(.*)\index.shtml$) {
+if ($request_uri ~ ^/(.*)/index\.shtml$) {
     return 302 /$1;
 }
 
-- 
GitLab