Remove WINDMILL_ENABLED from apache start.sh, simplify windmill cert config, add cache invalidation on image update

Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/6ba2c0de-f503-4989-9dea-4bc64a51e4f9

Co-authored-by: szaimen <42591237+szaimen@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-04-27 09:45:42 +00:00
committed by GitHub
parent 9f90afbc5e
commit d63f0afc63
3 changed files with 26 additions and 24 deletions

View File

@@ -60,12 +60,6 @@ if [ -z "$ADDITIONAL_TRUSTED_DOMAIN" ]; then
fi
echo "$CADDYFILE" > /tmp/Caddyfile
# Remove windmill route if windmill is not enabled
if [ "$WINDMILL_ENABLED" != "yes" ]; then
CADDYFILE="$(sed '/# Windmill/{N;N;N;N;d}' /tmp/Caddyfile)"
echo "$CADDYFILE" > /tmp/Caddyfile
fi
# Fix the Caddyfile format
caddy fmt --overwrite /tmp/Caddyfile