nginx owncloud.conf configuration example for CentOS Linux 7

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


    
  

Config Details

Location
/etc/php-fpm.d/owncloud.conf
Operating system
CentOS Linux 7
Length
24 lines
MD5 checksum
9a68a2ed32ccd73a29d3422f7c302c51

Usage

Download the raw file with wget or curl

Wget

wget -O owncloud.conf.example https://exampleconfig.com/static/raw/nginx/centos7/etc/php-fpm.d/owncloud.conf

cURL

curl https://exampleconfig.com/static/raw/nginx/centos7/etc/php-fpm.d/owncloud.conf > owncloud.conf.example