From 5aa95d0fa7007289a6d0ee3edc096de0ae7994fb Mon Sep 17 00:00:00 2001 From: Serreau Jovann Date: Thu, 22 Jan 2026 22:26:05 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(caddy):=20Ajoute=20la=20r?= =?UTF-8?q?=C3=A9=C3=A9criture=20des=20chemins=20pour=20servir=20les=20ass?= =?UTF-8?q?ets.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ansible/templates/caddy.j2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ansible/templates/caddy.j2 b/ansible/templates/caddy.j2 index 3010a83..8b01218 100644 --- a/ansible/templates/caddy.j2 +++ b/ansible/templates/caddy.j2 @@ -35,7 +35,9 @@ intranet.ludikevent.fr, signature.ludikevent.fr, reservation.ludikevent.fr { CF-IPCity {header.CF-IPCity} X-Real-IP {remote_host} } - + handle_path /assets/* { + rewrite * /build{path} + } # --- PHP FASTCGI --- # Ici, Caddy transmet automatiquement tous les headers définis ci-dessus au socket PHP php_fastcgi unix//run/php/php8.3-fpm.sock {