mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-29 23:10:08 +00:00
WIP: implementing windmill container changes
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/6f198732-63c3-41b7-8b2e-1b5fa565ee21 Co-authored-by: szaimen <42591237+szaimen@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
8727df147d
commit
4b27d6954f
@@ -60,6 +60,16 @@ if [ -z "$ADDITIONAL_TRUSTED_DOMAIN" ]; then
|
||||
fi
|
||||
echo "$CADDYFILE" > /tmp/Caddyfile
|
||||
|
||||
# Add windmill site if windmill is enabled
|
||||
if [ "$WINDMILL_ENABLED" = "yes" ]; then
|
||||
cat >> /tmp/Caddyfile << 'WINDMILL_EOF'
|
||||
|
||||
https://{$NC_DOMAIN}:3100 {
|
||||
reverse_proxy {$WINDMILL_HOST}:8000
|
||||
}
|
||||
WINDMILL_EOF
|
||||
fi
|
||||
|
||||
# Fix the Caddyfile format
|
||||
caddy fmt --overwrite /tmp/Caddyfile
|
||||
|
||||
|
||||
Reference in New Issue
Block a user