Added the configs

This commit is contained in:
2024-02-10 11:01:32 +01:00
parent 44c8c93f04
commit 4bd5f729c5
9 changed files with 334 additions and 0 deletions

View File

@ -0,0 +1,25 @@
[PostgresSQL]
pgsql.allow_persistent = On
pgsql.auto_reset_persistent = Off
pgsql.max_persistent = 100
pgsql.max_links = 100
pgsql.ignore_notice = 0
pgsql.log_notice = 0
[opcache]
opcache.enable=1
opcache.memory_consumption=64
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=16229
opcache.revalidate_freq=900
opcache.fast_shutdown=1
opcache.enable_cli=1
opcache.revalidate_path=0
opcache.save_comments=1
opcache.enable_file_override=1
opcache.jit = 1255
opcache.jit_buffer_size = 128M
[APCu]
apc.shm_segments = 1
apc.shm_size = 128M

30
config/php/cloud.conf Normal file
View File

@ -0,0 +1,30 @@
[nextcloud]
listen = /run/php/cloudMain.sock
listen.owner = nextcloud
listen.group = www-data
listen.mode = 0660
user = nextcloud
group = www-data
pm = ondemand
pm.max_children = PHPTHR
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 2
pm.max_requests = 1000
pm.process_idle_timeout = 180s
chdir = /
env[HOSTNAME] = $HOSTNAME
env[TMP] = /tmp/
env[TMPDIR] = /tmp/
env[TEMP] = /tmp/
env[PATH] = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
php_admin_value[upload_tmp_dir] = /nextcloud/data/tmp/
php_admin_value[memory_limit] = MEMLIM
php_admin_value[upload_max_filesize] = 4096M
php_admin_value[session.save_handler] = redis
php_admin_value[session.save_path] = unix:///run/redis/redis-server.sock