From 52c50621cde04a1169604cf4aa8be04800a5dd04 Mon Sep 17 00:00:00 2001 From: jkaberg Date: Tue, 12 Aug 2014 15:11:33 +0200 Subject: [PATCH] use x-accel-redirect for faster larg file downloads --- conf/nginx.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index 411dfe8..2ec8e03 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -70,6 +70,7 @@ server { include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$1; + fastcgi_param MOD_X_ACCEL_REDIRECT_ENABLED on; fastcgi_param PATH_INFO $2; fastcgi_param HTTPS on; fastcgi_pass php-fpm;