refactor: replace custom CRM with Monica fork
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
This commit is contained in:
62
config/laravelcloudflare.php
Normal file
62
config/laravelcloudflare.php
Normal file
@@ -0,0 +1,62 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Enable or disable the middleware proxy and the reload
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| If you set it to false, the middleware and the reload command will never
|
||||
| be executed.
|
||||
|
|
||||
*/
|
||||
|
||||
'enabled' => (bool) env('LARAVEL_CLOUDFLARE_ENABLED', env('APP_TRUSTED_CLOUDFLARE', false)),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Name of the cache to store values of the proxies
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This value is the key used in the cache (table, redis, etc.) to store the
|
||||
| values.
|
||||
|
|
||||
*/
|
||||
|
||||
'cache' => 'cloudflare.proxies',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Cloudflare main url
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This is the url for the cloudflare api.
|
||||
|
|
||||
*/
|
||||
|
||||
'url' => 'https://www.cloudflare.com',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Cloudflare uri for ipv4 ips response
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This is the path to get the values of ipv4 ips from Cloudflare.
|
||||
|
|
||||
*/
|
||||
|
||||
'ipv4-path' => 'ips-v4',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Cloudflare uri for ipv6 ips response
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This is the path to get the values of ipv6 ips from Cloudflare.
|
||||
|
|
||||
*/
|
||||
|
||||
'ipv6-path' => 'ips-v6',
|
||||
|
||||
];
|
||||
Reference in New Issue
Block a user