[DOCUMENTATION][SYSADMIN][CONFIGURE] x-static-delivery was in the wrong section

This commit is contained in:
Miguel Dantas 2019-08-12 23:16:08 +01:00 committed by Diogo Cordeiro
parent e4bdb21a54
commit bff525d26f

View File

@ -148,6 +148,12 @@ This section is a catch-all for site-wide variables.
* favicon: the path to a custom favicon, eg: favicon.png * favicon: the path to a custom favicon, eg: favicon.png
* `x-static-delivery` (string, default null): when a string, use this
as the header with wich to serve static files. Possible values are
'X-Sendfile' (for Apache and others) and 'X-Accel-Redirect' (for
nginx).
db db
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
@ -201,10 +207,6 @@ The ones that you may want to set are listed below for clarity.
run scripts/checkschema.php whenever you install or upgrade a run scripts/checkschema.php whenever you install or upgrade a
plugin. plugin.
* `x-static-delivery` (string, default null): when a string, use this
as the header with wich to serve static files. Possible values are
'X-Sendfile' (for Apache and others) and 'X-Accel-Redirect' (for
nginx).
syslog syslog
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
@ -675,6 +677,7 @@ set too low (it's optional, so it may not be there at all).
* `extblacklist`: associative array to either deny certain extensions or * `extblacklist`: associative array to either deny certain extensions or
change them to a different one. For example: change them to a different one. For example:
$config['attachments']['extblacklist']['php'] = 'phps'; // this turns .php into .phps $config['attachments']['extblacklist']['php'] = 'phps'; // this turns .php into .phps
$config['attachments']['extblacklist']['exe'] = false; // this would deny any uploads $config['attachments']['extblacklist']['exe'] = false; // this would deny any uploads
// of files with the "exe" extension // of files with the "exe" extension