10 lines
210 B
PHP
10 lines
210 B
PHP
|
<?php
|
||
|
|
||
|
return [
|
||
|
|
||
|
'enabled' => !empty(env('CADDY_SECRET')) && !empty(env('CADDY_AUTHORIZED_IPS', [])),
|
||
|
'caddy_secret' => env('CADDY_SECRET'),
|
||
|
'authorized_ips' => env('CADDY_AUTHORIZED_IPS', []),
|
||
|
|
||
|
];
|