Configure GC in Nomad for delete old allocations for periodic job

hi, how configure GC in Nomad for delete old allocations for periodic job (if job is running) ? help me plz