+1
Answered

This site can’t be reached - Share web link problem with download accelerator

contact 5 years ago updated 1 year ago 2

I'm using Nginx.


If I select X-Accel from download accelerator, then browser tell "This site can’t be reached" when go to web link download.


I want to use download accelerator, please fix it.

Answer

+1
Answer
Answered

This feature requires additional configuration. Enabling from the control panel is not sufficient.

First, you need to configure Ngnix with the paths and redirects: https://www.nginx.com/resources/wiki/start/topics/examples/xsendfile/

Something like this:

location /some/path {
 internal;
 root   /;
}


To understand how this works: 

Assuming a user's home folder is set to "/some/path", when the user will try to download the file "filename.ext" from his home folder, FileRun will send the header "X-Accel-Redirect: /some/path/filename.ext", which Nginx will intercept and then trigger the download of the file, at the path root+/some/path/+filename.ext

+1
Answer
Answered

This feature requires additional configuration. Enabling from the control panel is not sufficient.

First, you need to configure Ngnix with the paths and redirects: https://www.nginx.com/resources/wiki/start/topics/examples/xsendfile/

Something like this:

location /some/path {
 internal;
 root   /;
}


To understand how this works: 

Assuming a user's home folder is set to "/some/path", when the user will try to download the file "filename.ext" from his home folder, FileRun will send the header "X-Accel-Redirect: /some/path/filename.ext", which Nginx will intercept and then trigger the download of the file, at the path root+/some/path/+filename.ext

Can this be added to the "i" info icon for that setting in control panel?