From 6bbdc129c09b781007863fc49a9c7f9f3b1cf157 Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Thu, 13 Jan 2011 00:46:19 +0100 Subject: [ticket/9790] Support for nginx's X-Accel-Redirect header for attachments. PHPBB3-9790 --- phpBB/docs/nginx.sample.conf | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'phpBB/docs') 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; -- cgit v1.2.1