feat: add php-fpm config
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
$CONFIG = array (
|
||||
'instanceid' => '',
|
||||
'passwordsalt' => '',
|
||||
'secret' => '',
|
||||
'instanceid' => '$INSTANCE_ID',
|
||||
'passwordsalt' => '$PASSWORD_SALT',
|
||||
'secret' => '$SECRET',
|
||||
'trusted_domains' => array (
|
||||
0 => 'cloud.netoik.io',
|
||||
),
|
||||
@@ -26,7 +26,6 @@ $CONFIG = array (
|
||||
),
|
||||
'default_phone_region' => 'FR',
|
||||
'maintenance' => false,
|
||||
'maintenance_window_start' => 1,
|
||||
'log_type' => 'systemd',
|
||||
'loglevel' => 2,
|
||||
'config_is_read_only' => true,
|
||||
16
files/php-fpm/nextcloud.conf
Normal file
16
files/php-fpm/nextcloud.conf
Normal file
@@ -0,0 +1,16 @@
|
||||
; Configure here a php-fpm pool
|
||||
; See manual at: https://www.php.net/manual/en/install.fpm.configuration.php
|
||||
|
||||
[nextcloud]
|
||||
user = nextcloud
|
||||
group = nextcloud
|
||||
|
||||
listen = /run/php-fpm/nextcloud.sock
|
||||
listen.owner = nextcloud
|
||||
listen.group = nextcloud
|
||||
listen.mode = 0777
|
||||
|
||||
pm = dynamic
|
||||
pm.max_children = 50
|
||||
pm.min_spare_servers = 5
|
||||
pm.max_spare_servers = 35
|
||||
Reference in New Issue
Block a user