1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/9790] Support for nginx's X-Accel-Redirect header for attachments.

PHPBB3-9790
This commit is contained in:
Andreas Fischer
2011-01-13 00:46:19 +01:00
parent 19931713db
commit 6bbdc129c0
2 changed files with 18 additions and 0 deletions

View File

@@ -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;