Caddyfile: add redirect for preseed.cfg
/ build_website (push) Successful in 8s Details
/ build_and_push_container (push) Successful in 9s Details

This commit is contained in:
kosma 2025-11-16 20:10:35 +01:00
parent abf75541bc
commit d91f3c28c3
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@ RUN echo -e ":3000 {\n\
root * /var/www\n\ root * /var/www\n\
header /.well-known* Content-Type application/json\n\ header /.well-known* Content-Type application/json\n\
header /.well-known/matrix/client Access-Control-Allow-Origin *\n\ header /.well-known/matrix/client Access-Control-Allow-Origin *\n\
redir /d-i/trixie/preseed.cfg https://git.hswro.org/HSWro-infra/hswro-vm-provisioning/raw/branch/master/preseed.cfg temporary\n\
file_server\n\ file_server\n\
}" > /etc/caddy/Caddyfile }" > /etc/caddy/Caddyfile
WORKDIR /var/www WORKDIR /var/www