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
|
<?php
$CONFIG = array (
'passwordsalt' => '85f1383c62f31c578cdb40a933c5cf85',
'secret' => 'e6aeed91e9c4461dbbc8157d83ca2f1807087b8880c625403c15caf3882595358d25bd2bdfa571910aecfcfe041ee064',
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'www.example.com',
# 增加的东西
2 => preg_match('/cli/i',php_sapi_name())?'127.0.0.1':$_SERVER['SERVER_NAME'],
),
'datadirectory' => '/var/www/nextcloud-data',
'dbtype' => 'mysql',
'version' => '21.0.1.1',
'overwrite.cli.url' => 'http://localhost',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => 'f84a0375a5816eb6992e240afc957b13',
'installed' => true,
'memcache.local' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis.sock',
'port' => 0,
'timeout' => 0.0,
),
'filelocking.enabled' => true,
'memcache.locking' => '\\OC\\Memcache\\Redis',
'instanceid' => '6dae39940f000',
);
|