diff options
author | Andreas Fischer <bantu@phpbb.com> | 2011-01-13 00:46:19 +0100 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2011-01-17 22:37:53 +0100 |
commit | 6bbdc129c09b781007863fc49a9c7f9f3b1cf157 (patch) | |
tree | 94dae6125f08a0a52a9e3ed6ecb01297d3a4e50c /phpBB/docs | |
parent | 19931713db35307461bfe0784f32526d24caf912 (diff) | |
download | forums-6bbdc129c09b781007863fc49a9c7f9f3b1cf157.tar forums-6bbdc129c09b781007863fc49a9c7f9f3b1cf157.tar.gz forums-6bbdc129c09b781007863fc49a9c7f9f3b1cf157.tar.bz2 forums-6bbdc129c09b781007863fc49a9c7f9f3b1cf157.tar.xz forums-6bbdc129c09b781007863fc49a9c7f9f3b1cf157.zip |
[ticket/9790] Support for nginx's X-Accel-Redirect header for attachments.
PHPBB3-9790
Diffstat (limited to 'phpBB/docs')
-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; |