aboutsummaryrefslogtreecommitdiff
path: root/infrastructure/roles
diff options
context:
space:
mode:
Diffstat (limited to 'infrastructure/roles')
-rw-r--r--infrastructure/roles/web/tasks/main.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/infrastructure/roles/web/tasks/main.yaml b/infrastructure/roles/web/tasks/main.yaml
index 023367b..39e3fda 100644
--- a/infrastructure/roles/web/tasks/main.yaml
+++ b/infrastructure/roles/web/tasks/main.yaml
@@ -90,7 +90,7 @@
RewriteEngine on
RewriteCond ${alexblog:$1} >""
RewriteMap alexblog "txt:/home/alex/public_html/redirections.txt"
- RewriteRule "^(.*)" "${alexblog:$1}" [R=308,L]
+ RewriteRule "^/(.*)" "/${alexblog:$1}" [R=308,L]
</VirtualHost>
notify: restart web
- name: gemini