Commit 52c50621 authored by jkaberg's avatar jkaberg

use x-accel-redirect for faster larg file downloads

parent afb09a84
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment