Get the default configuration file owncloud.conf for nginx, optimized for CentOS Linux 7. This example configuration ensures optimal compatibility and performance for nginx, making it easy to set up and adjust to meet your needs.
Find and download the configuration file here: /etc/php-fpm.d/owncloud.conf.
For more configurations and setup guides, visit our related files section to further customize your system.
[owncloud]
user = apache
group = apache
listen = /run/php-fpm/owncloud.sock
listen.allowed_clients = 127.0.0.1
pm = dynamic
pm.max_children = 50
pm.start_servers = 5
pm.min_spare_servers = 5
pm.max_spare_servers = 35
slowlog = /var/log/php-fpm/owncloud-slow.log
php_admin_value[error_log] = /var/log/php-fpm/owncloud-error.log
php_admin_flag[log_errors] = on
php_value[session.save_handler] = files
php_value[session.save_path] = /var/lib/php/session
php_value[soap.wsdl_cache_dir] = /var/lib/php/wsdlcache
php_value[upload_max_filesize] = 10G
php_value[post_max_size] = 10G
env[HOSTNAME] = $HOSTNAME
env[PATH] = /usr/local/bin:/usr/bin:/bin
env[TMP] = /tmp
env[TMPDIR] = /tmp
env[TEMP] = /tmp
Download the raw file with wget or curl
wget -O owncloud.conf.example https://exampleconfig.com/static/raw/nginx/centos7/etc/php-fpm.d/owncloud.conf
curl https://exampleconfig.com/static/raw/nginx/centos7/etc/php-fpm.d/owncloud.conf > owncloud.conf.example
Other config files you might find useful