add autodeploy and add basic auth for file uploader
Some checks failed
Deploy back2 / deploy (push) Failing after 46s
Some checks failed
Deploy back2 / deploy (push) Failing after 46s
This commit is contained in:
@@ -5,5 +5,14 @@ return [
|
||||
'disk' => env('FILE_LINKS_DISK', 'local'),
|
||||
'directory' => env('FILE_LINKS_DIRECTORY', 'temporary-links'),
|
||||
'max_size_kb' => (int) env('FILE_LINKS_MAX_SIZE_KB', 10240),
|
||||
'upload_basic_auth_users' => array_values(array_filter([
|
||||
[
|
||||
'username' => env('FILE_LINKS_UPLOAD_USER_1'),
|
||||
'password' => env('FILE_LINKS_UPLOAD_PASSWORD_1'),
|
||||
],
|
||||
[
|
||||
'username' => env('FILE_LINKS_UPLOAD_USER_2'),
|
||||
'password' => env('FILE_LINKS_UPLOAD_PASSWORD_2'),
|
||||
],
|
||||
], static fn (array $user): bool => filled($user['username']) && filled($user['password']))),
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user