@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | ], |
10 | 10 | 'components' => [ |
11 | 11 | 'cache' => [ |
12 | - 'keyPrefix' => 'web', //前缀 |
|
12 | + 'keyPrefix' => 'web', //前缀 |
|
13 | 13 | ], |
14 | 14 | 'user' => [ |
15 | 15 | 'identityClass' => yuncms\user\models\User::class, |
@@ -22,13 +22,13 @@ discard block |
||
22 | 22 | 'secureProtocolHeaders' => [ |
23 | 23 | 'X-Forwarded-Proto' => ['https'], // Common |
24 | 24 | 'Front-End-Https' => ['on'], // Microsoft |
25 | - 'X-Client-Scheme' => ['https'],// Aliyun CDN |
|
25 | + 'X-Client-Scheme' => ['https'], // Aliyun CDN |
|
26 | 26 | 'X-Client-Proto' => ['https'], |
27 | 27 | ], |
28 | 28 | 'ipHeaders' => [ |
29 | - 'X-Forwarded-For',// Common |
|
29 | + 'X-Forwarded-For', // Common |
|
30 | 30 | 'X-Cluster-Client-IP', |
31 | - 'ALI-CDN-REAL-IP',// Aliyun CDN |
|
31 | + 'ALI-CDN-REAL-IP', // Aliyun CDN |
|
32 | 32 | 'Client-IP', |
33 | 33 | 'X-Forwarded', |
34 | 34 | 'Forwarded-For', |