The asset pipeline nginx config was shadowing /assets/:id/download.