Skip to content

Instantly share code, notes, and snippets.

@JohnAtl
Created October 2, 2022 17:10
Show Gist options
  • Save JohnAtl/0d18416b0845937b864621b0e3859a56 to your computer and use it in GitHub Desktop.
Save JohnAtl/0d18416b0845937b864621b0e3859a56 to your computer and use it in GitHub Desktop.
root@nextcloudpi:/var/www/nextcloud# cat config/config.php
<?php
$CONFIG = array (
'passwordsalt' => 'redacted',
'secret' => 'redacted',
'trusted_domains' =>
array (
0 => 'localhost',
7 => 'nextcloudpi',
5 => 'nextcloudpi.local',
8 => 'nextcloudpi.lan',
3 => 'nextcloudpi',
11 => 'redacted',
1 => 'redacted',
14 => 'nextcloudpi',
),
'datadirectory' => '/media/NextCloudDrive/ncdata/data',
'dbtype' => 'mysql',
'version' => '24.0.3.2',
'overwrite.cli.url' => 'https://nextcloudpi/',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'ncadmin',
'dbpassword' => 'redacted',
'installed' => true,
'instanceid' => 'ocrwsfennhpg',
'memcache.local' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis.sock',
'port' => 0,
'timeout' => 0.0,
'password' => 'redacted',
),
'tempdirectory' => '/media/NextCloudDrive/ncdata/data/tmp',
'mail_smtpmode' => 'sendmail',
'mail_smtpauthtype' => 'LOGIN',
'mail_from_address' => 'admin',
'mail_domain' => 'ownyourbits.com',
'preview_max_x' => '2048',
'preview_max_y' => '2048',
'jpeg_quality' => '60',
'overwriteprotocol' => 'https',
'trusted_proxies' =>
array (
11 => '127.0.0.1',
12 => '::1',
13 => 'nextcloudpi',
14 => '',
),
'maintenance' => false,
'logfile' => '/media/NextCloudDrive/ncdata/data/nextcloud.log',
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment