diff --git a/config/filesystems.php b/config/filesystems.php index 1c012b3a..902cb1fa 100644 --- a/config/filesystems.php +++ b/config/filesystems.php @@ -51,7 +51,8 @@ 'tenant' => [ 'driver' => env('TENANT_STORAGE_DRIVER', 'local'), 'root' => env('TENANT_STORAGE_PATH', '/var/www/shared-storage/tenants'), - 'visibility' => 'private', + 'url' => env('APP_URL').'/tenant-storage', + 'visibility' => 'public', 'throw' => false, 'report' => false, ], @@ -93,6 +94,7 @@ 'links' => [ public_path('storage') => storage_path('app/public'), + public_path('tenant-storage') => env('TENANT_STORAGE_PATH', '/var/www/shared-storage/tenants'), ], ]; diff --git a/public/tenant-storage b/public/tenant-storage new file mode 120000 index 00000000..96384d24 --- /dev/null +++ b/public/tenant-storage @@ -0,0 +1 @@ +/var/www/shared-storage/tenants \ No newline at end of file