Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Implement X-Accel for downloading files #42

Open
1 task done
rfranks-securenet opened this issue Jul 23, 2024 · 2 comments
Open
1 task done

[FEAT] Implement X-Accel for downloading files #42

rfranks-securenet opened this issue Jul 23, 2024 · 2 comments

Comments

@rfranks-securenet
Copy link

Is this a new feature request?

  • I have searched the existing issues

Wanted change

Implement a location block within the nginx configuration to allow the use of X-Accel for downloading files. The configuration required is documented within the General page under Settings within ProjectSend, copied below:

X-Accel is a method available in nginx that allows the system to serve files directly, bypassing php and it's limitations. To configure it, you need to edit your server block and add the following code:

location /serve-file {
    internal;
    alias /app/www/public/upload/;
}

Reason for change

This takes the load off PHP for downloading files, speeding up the download, removing the overhead of passing it through PHP, and bypassing the limitations of downloading a file via PHP

Proposed code change

No response

Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@LinuxServer-CI
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Issues
Development

No branches or pull requests

2 participants