forked from unitoo/configurations
update nextcloud config
This commit is contained in:
parent
9866581352
commit
ed867e87e8
3 changed files with 14 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
[server]
|
[server]
|
||||||
skip_name_resolve = 1
|
skip_name_resolve = 1
|
||||||
innodb_buffer_pool_size = 128M
|
innodb_buffer_pool_size = 1G
|
||||||
innodb_buffer_pool_instances = 1
|
innodb_buffer_pool_instances = 1
|
||||||
innodb_flush_log_at_trx_commit = 2
|
innodb_flush_log_at_trx_commit = 2
|
||||||
innodb_log_buffer_size = 32M
|
innodb_log_buffer_size = 32M
|
||||||
|
@ -14,13 +14,14 @@ max_heap_table_size= 64M
|
||||||
slow_query_log = 1
|
slow_query_log = 1
|
||||||
slow_query_log_file = /var/log/mysql/slow.log
|
slow_query_log_file = /var/log/mysql/slow.log
|
||||||
long_query_time = 1
|
long_query_time = 1
|
||||||
|
key_buffer_size = 64MB
|
||||||
|
|
||||||
[client]
|
[client]
|
||||||
default-character-set = utf8mb4
|
default-character-set = utf8mb4
|
||||||
|
|
||||||
[mysqld]
|
[mysqld]
|
||||||
character_set_server = utf8mb4
|
character_set_server = utf8mb4
|
||||||
collation_server = utf8mb4_general_ci
|
collation_server = utf8mb4_bin
|
||||||
transaction_isolation = READ-COMMITTED
|
transaction_isolation = READ-COMMITTED
|
||||||
binlog_format = ROW
|
binlog_format = ROW
|
||||||
innodb_large_prefix=on
|
innodb_large_prefix=on
|
||||||
|
|
5
nextcloud/etc/php/conf.d/redis-session.ini
Normal file
5
nextcloud/etc/php/conf.d/redis-session.ini
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
session.save_handler = redis
|
||||||
|
session.save_path = "tcp://redis:6379"
|
||||||
|
redis.session.locking_enabled=1
|
||||||
|
redis.session.lock_retries=-1
|
||||||
|
redis.session.lock_wait_time=10000
|
|
@ -7,6 +7,10 @@ $CONFIG = array (
|
||||||
array (
|
array (
|
||||||
0 => 'your_domain',
|
0 => 'your_domain',
|
||||||
),
|
),
|
||||||
|
'trusted_proxies' =>
|
||||||
|
array (
|
||||||
|
0 => '10.0.0.0/16',
|
||||||
|
),
|
||||||
'datadirectory' => '/var/www/html/nextcloud/data',
|
'datadirectory' => '/var/www/html/nextcloud/data',
|
||||||
'dbtype' => 'mysql',
|
'dbtype' => 'mysql',
|
||||||
'version' => '23.0.3.2',
|
'version' => '23.0.3.2',
|
||||||
|
@ -23,6 +27,7 @@ $CONFIG = array (
|
||||||
'memcache.distributed' => '\\OC\\Memcache\\Redis',
|
'memcache.distributed' => '\\OC\\Memcache\\Redis',
|
||||||
'memcache.locking' => '\\OC\\Memcache\\Redis',
|
'memcache.locking' => '\\OC\\Memcache\\Redis',
|
||||||
'memcache.local' => '\\OC\\Memcache\\Redis',
|
'memcache.local' => '\\OC\\Memcache\\Redis',
|
||||||
|
'filelocking.enabled' => true,
|
||||||
'log_type' => 'syslog',
|
'log_type' => 'syslog',
|
||||||
'logfile' => '',
|
'logfile' => '',
|
||||||
'loglevel' => '3',
|
'loglevel' => '3',
|
||||||
|
@ -61,7 +66,7 @@ $CONFIG = array (
|
||||||
'mail_smtppassword' => '',
|
'mail_smtppassword' => '',
|
||||||
'maintenance' => false,
|
'maintenance' => false,
|
||||||
'default_phone_region' => 'IT',
|
'default_phone_region' => 'IT',
|
||||||
'enable_previews' => true,
|
'enable_previews' => true,
|
||||||
'preview_max_x' => 4096,
|
'preview_max_x' => 4096,
|
||||||
'preview_max_y' => 4096,
|
'preview_max_y' => 4096,
|
||||||
'preview_max_memory' => 768,
|
'preview_max_memory' => 768,
|
||||||
|
|
Loading…
Reference in a new issue