mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/9790] Support for nginx's X-Accel-Redirect header for attachments.
PHPBB3-9790
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user