aboutsummaryrefslogtreecommitdiff
path: root/infrastructure/roles/web/tasks/main.yaml
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2025-10-11 21:39:09 +0200
committeralex <alex@pdp7.net>2025-10-11 21:39:09 +0200
commitde01ae7c4ee3f614baf1cc4ddb6b17479851f292 (patch)
tree552a006f8fb48c4f5ca9ba4862de42e5a3ffa2e4 /infrastructure/roles/web/tasks/main.yaml
parent4bbf78f4ea4a7ff8afa99779cd1676cb73c97b68 (diff)
Redirect / to README
Diffstat (limited to 'infrastructure/roles/web/tasks/main.yaml')
-rw-r--r--infrastructure/roles/web/tasks/main.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/infrastructure/roles/web/tasks/main.yaml b/infrastructure/roles/web/tasks/main.yaml
index 51cef33..92bb88f 100644
--- a/infrastructure/roles/web/tasks/main.yaml
+++ b/infrastructure/roles/web/tasks/main.yaml
@@ -43,5 +43,7 @@
ProxyPreserveHost On
RequestHeader set X-Real-IP %{REMOTE_ADDR}s
</Location>
+
+ RedirectMatch "^/$" "/gitweb/?p=infrastructure.git;a=blob;f=README.md;hb=refs/heads/main"
</VirtualHost>
notify: restart web