Fix caddy authorized IPs
This commit is contained in:
parent
ac968403b6
commit
042b029d5f
|
@ -4,6 +4,6 @@ return [
|
||||||
|
|
||||||
'enabled' => !empty(env('CADDY_SECRET')) && !empty(env('CADDY_AUTHORIZED_IPS', [])),
|
'enabled' => !empty(env('CADDY_SECRET')) && !empty(env('CADDY_AUTHORIZED_IPS', [])),
|
||||||
'caddy_secret' => env('CADDY_SECRET'),
|
'caddy_secret' => env('CADDY_SECRET'),
|
||||||
'authorized_ips' => env('CADDY_AUTHORIZED_IPS', []),
|
'authorized_ips' => explode(',', env('CADDY_AUTHORIZED_IPS')),
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue