From 5d33c3595a1336e7e3ceae410712edcf8df62c35 Mon Sep 17 00:00:00 2001 From: pro Date: Wed, 28 Jan 2026 08:53:36 +0900 Subject: [PATCH] =?UTF-8?q?fix:tenant=20=EB=94=94=EC=8A=A4=ED=81=AC=20publ?= =?UTF-8?q?ic=20URL=20=EC=A0=91=EA=B7=BC=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - tenant 디스크에 url 설정 추가 - public/tenant-storage 심볼릭 링크 추가 - visibility를 public으로 변경 Co-Authored-By: Claude Opus 4.5 --- config/filesystems.php | 4 +++- public/tenant-storage | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) create mode 120000 public/tenant-storage 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