From c884dc9d3078525d9e8485ef73a7ad7e835ebfc3 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 17 Jun 2024 15:51:46 -0700 Subject: [PATCH] batcave: use RedirectMatch for batcave toplevel redirect Signed-off-by: Kevin Fenzi --- .../batcave/templates/infrastructure.fedoraproject.org.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/batcave/templates/infrastructure.fedoraproject.org.conf.j2 b/roles/batcave/templates/infrastructure.fedoraproject.org.conf.j2 index 32b047adff..fb14d13b2c 100644 --- a/roles/batcave/templates/infrastructure.fedoraproject.org.conf.j2 +++ b/roles/batcave/templates/infrastructure.fedoraproject.org.conf.j2 @@ -134,7 +134,7 @@ ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" SSLProtocol {{ ssl_protocols }} SSLCipherSuite {{ ssl_ciphers }} - Redirect "/" "https://docs.fedoraproject.org/en-US/infra/" + RedirectMatch "^/$" "https://docs.fedoraproject.org/en-US/infra/" # robots location Alias /robots.txt /srv/web/robots.txt.lockbox01