2023-11-29 13:53:08 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
2024-02-23 10:54:12 +00:00
|
|
|
'enabled' => ! empty(env('CADDY_SECRET')) && ! empty(env('CADDY_AUTHORIZED_IPS', [])),
|
2023-11-29 13:53:08 +00:00
|
|
|
'caddy_secret' => env('CADDY_SECRET'),
|
2024-02-23 10:54:12 +00:00
|
|
|
'authorized_ips' => explode(',', env('CADDY_AUTHORIZED_IPS', '')),
|
2023-11-29 13:53:08 +00:00
|
|
|
|
|
|
|
];
|