use Illuminate\Support\Facades\Response as Download;
public function download_config(Config $config)
{
//
$headers = [
'Content-Type' => 'Content-Type: application/zip',
'Content-Disposition' => 'attachment; filename="'. $config->name .'"',
];
//
return Download::make(Storage::disk('s3')->get($config->path), Response::HTTP_OK, $headers);
}