diff options
author | Igor Wiedler <igor@wiedler.ch> | 2011-01-18 21:09:13 +0100 |
---|---|---|
committer | Igor Wiedler <igor@wiedler.ch> | 2011-01-18 21:09:13 +0100 |
commit | 40cf8b1c0ab0a14f4c2a6e8059de6d648f8d4536 (patch) | |
tree | 43bf53c8ccf4ba4e5c41de1bd94d603e9344794d /phpBB/docs/nginx.sample.conf | |
parent | cde423591e90e58361b17f29f6841887573a0fa8 (diff) | |
parent | f6a14cbcef93f40cf368bc1ec5351fae09982e17 (diff) | |
download | forums-40cf8b1c0ab0a14f4c2a6e8059de6d648f8d4536.tar forums-40cf8b1c0ab0a14f4c2a6e8059de6d648f8d4536.tar.gz forums-40cf8b1c0ab0a14f4c2a6e8059de6d648f8d4536.tar.bz2 forums-40cf8b1c0ab0a14f4c2a6e8059de6d648f8d4536.tar.xz forums-40cf8b1c0ab0a14f4c2a6e8059de6d648f8d4536.zip |
Merge branch 'ticket/bantu/9790' into develop
* ticket/bantu/9790:
[ticket/9790] Support for lighttpd's X-Sendfile header for attachments.
[ticket/9790] Support for nginx's X-Accel-Redirect header for attachments.
[ticket/9790] Always call file_gc(false) before sending the file.
[ticket/9790] Add $exit parameter to file_gc().
Diffstat (limited to 'phpBB/docs/nginx.sample.conf')
-rw-r--r-- | phpBB/docs/nginx.sample.conf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/docs/nginx.sample.conf b/phpBB/docs/nginx.sample.conf index a22a126ff4..f74e988922 100644 --- a/phpBB/docs/nginx.sample.conf +++ b/phpBB/docs/nginx.sample.conf @@ -3,6 +3,14 @@ # from your system's nginx.conf. # Tested with nginx 0.8.35. +# If you want to use the X-Accel-Redirect feature, +# add the following to your config.php. +# +# define('PHPBB_ENABLE_X_ACCEL_REDIRECT', true); +# +# See http://wiki.nginx.org/XSendfile for the details +# on X-Accel-Redirect. + http { # Compression - requires gzip and gzip static modules. gzip on; |