1

Laravel Storage::disk('a disk')->url($user->image) works perfectly fine in localhost with all environments no problem But on the VPS with Nginx using the Laravel docs .conf file the url is giving connection timeout for Storage::disk('a disk')->url($user->image)

I already did

  1. storage:link
  2. APP_URL= 'vps ip address' (i don't need a domain name yet)
  3. config/filesystem.php is fine since it works on my system

If I copy the storage folder to public it works but if there is a symlink to the storage folder it does'nt

0 Answers0