docker run -d --name nextcloud \
--link mysql:mysql \
-p 8085:80 \
-v /nextCloud:/var/www/html/ \
nextcloud
image.png
https://www.cnblogs.com/h5av/p/10687751.html
preg_match('/cli/i',php_sapi_name())?'127.0.0.1':$_SERVER['SERVER_NAME']
//完整的代码
//索引数字顺延就可以
'trusted_domains' => array(
0 => '127.0.0.1',
1 => preg_match('/cli/i',php_sapi_name())?'127.0.0.1':$_SERVER['SERVER_NAME'],
),
网友评论