Fix caddy authorized IPs

This commit is contained in:
Julien Nahum 2023-11-29 18:00:53 +01:00
parent ac968403b6
commit 042b029d5f
1 changed files with 1 additions and 1 deletions

View File

@ -4,6 +4,6 @@ return [
'enabled' => !empty(env('CADDY_SECRET')) && !empty(env('CADDY_AUTHORIZED_IPS', [])),
'caddy_secret' => env('CADDY_SECRET'),
'authorized_ips' => env('CADDY_AUTHORIZED_IPS', []),
'authorized_ips' => explode(',', env('CADDY_AUTHORIZED_IPS')),
];