Advertisement
Denisle

NextCloud config.php

May 28th, 2022
914
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $CONFIG = array (
  3.   'passwordsalt' => 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ',
  4.   'secret' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
  5.   'trusted_domains' =>
  6.   array (
  7.     1 => '192.168.50.10',
  8.     2 => '192.168.50.20',
  9.     3 => 'nc.MYDOMAIN.ru',
  10.     4 => '192.168.50.30',
  11.     5 => 'onlyoffice.MYDOMAIN.ru',
  12.   ),
  13.   'trusted_proxies' =>
  14.   array (
  15.     0 => '192.168.50.10',
  16.     1 => 'proxyserver.MYDOMAIN.ru',
  17.   ),
  18.   'overwritecondaddr' => '^192\.168\.50\.10$',
  19.   'overwritehost' => 'nc.MYDOMAIN.ru',
  20.   'overwriteprotocol' => 'https',
  21.   'overwritewebroot' => '/',
  22.   'overwrite.cli.url' => 'https://nc.MYDOMAIN.ru',
  23.   'datadirectory' => '/var/nc_data',
  24.   'dbtype' => 'mysql',
  25.   'version' => '24.0.1.1',
  26.   'dbname' => 'nextclouddb',
  27.   'dbhost' => 'localhost',
  28.   'dbport' => '',
  29.   'dbtableprefix' => 'oc_',
  30.   'mysql.utf8mb4' => true,
  31.   'dbuser' => 'denisle',
  32.   'dbpassword' => 'PASSWORD',
  33.   'installed' => true,
  34.   'instanceid' => 'oca97ke9jcrp',
  35.   'activity_expire_days' => 14,
  36.   'allow_local_remote_servers' => true,
  37.   'auth.bruteforce.protection.enabled' => true,
  38.   'blacklisted_files' =>
  39.   array (
  40.     0 => '.htaccess',
  41.     1 => 'Thumbs.db',
  42.     2 => 'thumbs.db',
  43.   ),
  44.   'cron_log' => true,
  45.   'default_phone_region' => 'RU',
  46.   'defaultapp' => 'files,dashboard',
  47.   'enable_previews' => true,
  48.   'enabledPreviewProviders' =>
  49.   array (
  50.     0 => 'OC\\Preview\\PNG',
  51.     1 => 'OC\\Preview\\JPEG',
  52.     2 => 'OC\\Preview\\GIF',
  53.     3 => 'OC\\Preview\\BMP',
  54.     4 => 'OC\\Preview\\XBitmap',
  55.     5 => 'OC\\Preview\\Movie',
  56.     6 => 'OC\\Preview\\PDF',
  57.     7 => 'OC\\Preview\\MP3',
  58.     8 => 'OC\\Preview\\TXT',
  59.     9 => 'OC\\Preview\\PSD',
  60.     10 => 'OC\\Preview\\AI',
  61.     11 => 'OC\\Preview\\EPS',
  62.     12 => 'OC\\Preview\\TIF',
  63.     13 => 'OC\\Preview\\MP4',
  64.     14 => 'OC\\Preview\\MOV',
  65.     15 => 'OC\\Preview\\HEIC',
  66.     16 => 'OC\\Preview\\MarkDown',
  67.     17 => 'OC\\Preview\\OpenDocument',
  68.     18 => 'OC\\Preview\\Krita',
  69.     19 => 'OC\\Preview\\Illustrator',
  70.     20 => 'OC\\Preview\\MSOffice2003',
  71.     21 => 'OC\\Preview\\MSOffice2007',
  72.     22 => 'OC\\Preview\\MSOfficeDoc',
  73.     23 => 'OC\\Preview\\SVG',
  74.     24 => 'OC\\Preview\\MKV',
  75.     25 => 'OC\\Preview\\Photoshop',
  76.     26 => 'OC\\Preview\\Postscript',
  77.     27 => 'OC\\Preview\\StarOffice',
  78.     28 => 'OC\\Preview\\AVI',
  79.   ),
  80.   'session_lifetime' => 86400,
  81.   'session_keepalive' => true,
  82.   'filesystem_check_changes' => 0,
  83.   'filelocking.enabled' => 'true',
  84.   'htaccess.RewriteBase' => '/',
  85.   'integrity.check.disabled' => false,
  86.   'knowledgebaseenabled' => false,
  87.   'logfile' => '/var/log/nextcloud/nextcloud.log',
  88.   'loglevel' => 2,
  89.   'logtimezone' => 'Europe/Moscow',
  90.   'log_rotate_size' => '104857600',
  91.   'maintenance' => false,
  92.   'memcache.local' => '\\OC\\Memcache\\APCu',
  93.   'memcache.locking' => '\\OC\\Memcache\\Redis',
  94.   'preview_max_x' => 2048,
  95.   'preview_max_y' => 2048,
  96.   'preview_max_scale_factor' => 1,
  97.   'profile.enabled' => false,
  98.   'redis' =>
  99.   array (
  100.     'host' => '/var/run/redis/redis-server.sock',
  101.     'port' => 0,
  102.     'timeout' => 0.5,
  103.     'dbindex' => 1,
  104.   ),
  105.   'quota_include_external_storage' => false,
  106.   'share_folder' => '/Freigaben',
  107.   'skeletondirectory' => '',
  108.   'theme' => '',
  109.   'trashbin_retention_obligation' => 'auto, 7',
  110.   'updater.release.channel' => 'stable',
  111.   'mail_from_address' => 'denis',
  112.   'mail_smtpmode' => 'smtp',
  113.   'mail_sendmailmode' => 'smtp',
  114.   'mail_domain' => 'MYDOMAIN.com',
  115.   'mail_smtpauthtype' => 'LOGIN',
  116.   'mail_smtpsecure' => 'ssl',
  117.   'mail_smtphost' => 'smtp.yandex.ru',
  118.   'mail_smtpport' => '465',
  119.   'mail_smtpauth' => 1,
  120.   'mail_smtpname' => 'denis@MYDOMAIN.com',
  121.   'mail_smtppassword' => 'PASSWORD',
  122. );
Advertisement
RAW Paste Data Copied
Advertisement