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 {