How to setup sendfile mode in nginx?


I know it should be done in .config file by something like that:

location /I_dont_know_for_xibo {
alias /my/path/to/library/;

In xdms.php i found at line 216 : header(‘X-Accel-Redirect: /download/’ . $file->path);

I tried “location /download” but than I see http 404 in the nginx logfile when player tries to download media.

Question is: Wich is the right location for Nginx X-Accel download mode ?


This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.