aboutsummaryrefslogtreecommitdiff
path: root/infrastructure/roles/web
diff options
context:
space:
mode:
Diffstat (limited to 'infrastructure/roles/web')
-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