Hi,
Are you seeing faster speeds when downloading directly with the script?
Also, are you using xaccelredirect, xsendfile or none? (the advanced downloads option on the file server admin settings)
Thanks,
Adam.
Direct download speed is very fast, yes I use X-Accel-Redirect And it is available
But WebDav upload speed is fast
My nginx configuration file
# pass the PHP scripts to FastCGI server listening on unix:/tmp/php-cgi.sock
location ~ \.php$ {
if (!-e $request_filename) { rewrite ^/(.*) /index.php?_page_url=$1 last; }
fastcgi_pass unix:/tmp/php-cgi.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
#include fastcgi_params;
include fastcgi.conf;
}
location / {
if (!-e $request_filename) {
rewrite ^/(.*) /index.php?_page_url=$1 last;
}
}
location ~ \.php$ {
fastcgi_param MOD_X_ACCEL_REDIRECT_ENABLED on;
}
location /files/ {
root /data2/cloud_disk;
internal;
}
# these locations would be hidden by .htaccess normally
location /logs/ {
deny all;
}
location ~* "/\.(htaccess|htpasswd)$" {
deny all;
return 404;
}
}