Files
dokku/plugins
Jose Diaz-Gonzalez c2a07c3f1c fix: preserve all domains when renaming an app
The `post-app-rename-setup` trigger redirected `sed` output to the new
app's VHOST file inside a loop over global vhosts, so each iteration
clobbered the previous one and only the last global subdomain was
rewritten. When no global vhost was set, the loop never ran and the
new app's VHOST file was never written, leaving the renamed app with
no domains.

Copy the old app's VHOST file once as a baseline, then apply `sed -i`
in place for each global vhost so substitutions accumulate. Guard
against a missing global VHOST file and skip blank lines.
2026-04-27 01:47:50 -04:00
..
2026-04-26 04:07:58 +00:00
2026-04-26 04:07:58 +00:00
2026-04-26 04:07:58 +00:00
2026-04-26 04:07:58 +00:00
2026-04-26 04:07:58 +00:00
2026-04-26 04:07:58 +00:00
2026-04-26 04:07:58 +00:00
2026-04-26 04:07:58 +00:00
2026-04-26 04:07:58 +00:00
2026-04-26 04:07:58 +00:00
2026-04-26 04:07:58 +00:00
2026-04-26 04:07:58 +00:00
2026-04-26 04:07:58 +00:00
2026-04-26 04:07:58 +00:00
2026-04-26 04:07:58 +00:00
2026-04-26 04:07:58 +00:00
2026-04-26 04:07:58 +00:00
2026-04-26 04:07:58 +00:00
2026-04-26 04:07:58 +00:00