fix:tenant 디스크 public URL 접근 설정

- tenant 디스크에 url 설정 추가
- public/tenant-storage 심볼릭 링크 추가
- visibility를 public으로 변경

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
pro
2026-01-28 08:53:36 +09:00
parent c2d5538f30
commit 5d33c3595a
2 changed files with 4 additions and 1 deletions

View File

@@ -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'),
],
];

1
public/tenant-storage Symbolic link
View File

@@ -0,0 +1 @@
/var/www/shared-storage/tenants