diff options
Diffstat (limited to 'application/config')
-rw-r--r-- | application/config/config.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/application/config/config.php b/application/config/config.php index 5d6ea5d1f..54870b37b 100644 --- a/application/config/config.php +++ b/application/config/config.php @@ -416,6 +416,22 @@ $config['auth_fluxbb'] = array( // possible values: production, development $config['environment'] = "production"; +// This sets the download implementation. Possible values are php, nginx and lighttpd +// The nginx and lighttpd drivers make use of the server's sendfile feature. +$config['download_driver'] = 'php'; +// The lighttpd driver requires the following directive to be set in your fastcgi.server configuration: +// "allow-x-send-file" => "enable" +// See http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModFastCGI#X-Sendfile +// +// When using the nginx download driver you need to define an internal location +// from which nginx will serve your uploads: +// location ^~ /protected-uploads/ { +// internal; +// alias <upload_path>/; +// } +// See http://wiki.nginx.org/X-accel +$config['download_nginx_location'] = '/protected-uploads'; + if (file_exists(FCPATH.'application/config/config-local.php')) { include FCPATH.'application/config/config-local.php'; } |