/
imgix.php
52 lines (48 loc) · 1.72 KB
/
imgix.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php
return [
/*
|--------------------------------------------------------------------------
| ImgIX Domains
|--------------------------------------------------------------------------
|
| Domain sharding enables you to spread image requests across
| multiple domains. This allows you to bypass the requests-per-host
| limits of browsers. We recommend 2-3 domain shards maximum if you are
| going to use domain sharding.
|
| @link https://github.com/imgix/imgix-php#domain-sharded-urls
|
*/
'domain' => env('IMGIX_DOMAIN', 'example.imgix.net'),
/*
|--------------------------------------------------------------------------
| ImgIX HTTPS
|--------------------------------------------------------------------------
|
| For HTTPS support.
|
*/
'useHttps' => env('IMGIX_HTTPS', true),
/*
|--------------------------------------------------------------------------
| ImgIX Signed URLs
|--------------------------------------------------------------------------
|
| To produce a signed URL, you must enable secure URLs on your source
| and then provide your signature key to the URL builder.
|
| @link https://github.com/imgix/imgix-php#signed-urls
|
*/
'signKey' => env('IMGIX_SIGNKEY', ''),
/*
|--------------------------------------------------------------------------
| ImgIX Library Param
|--------------------------------------------------------------------------
|
| For security and diagnostic purposes, we default to signing all requests
| with the language and version of library used to generate the URL.
|
*/
'includeLibraryParam' => env('IMGIX_LIBRARY', true),
];