Upgrade Server Configuration

After updating gon-cli, new templates may include improvements (e.g., zombie process prevention, healthcheck tuning). Use server:upgrade to propagate these changes to running servers.

Sync config files

gon self-update
gon server:upgrade myapp

This uploads the latest docker-compose.yml and nginx config to the server. Containers are not restarted automatically.

Sync + restart

To apply changes immediately (recreates containers with new config):

gon server:upgrade myapp --restart

Via deploy

Config files are also synced automatically on every gon deploy and gon release. If you're deploying a new version anyway, no separate upgrade step is needed.