Fileupload (Laravel 9) and store to https local dev server

Viewed 21

I have two local development servers, one https://public.local and other https://cdn.local, both on (xampp). I am trying to save a file from public to cdn using fileupload but without success. the following driver i tried:

'cdn' => [
            'driver' => 'https',
            'root' => '/content/images/profileimages',
            'url' => env('CDN_URL'),
            'visibility' => 'public',
            'throw' => false,
        ],

where:

CDN_URL=https://cdn.public

Are there any prerequisites that need to be met, server configuration or any other packages or libraries that need to be included for this to work?

1 Answers

Can this work at all? I mean a file transfer over the https protocol?

Related