• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Resolved How to install x-sendfile and x-accel

ChrisCP

Basic Pleskian
How to install x-sendfile and x-accel? I couldn't find any tutorials. Do i need both x-sendfile and x-accel or which one? I use apache with nginx as reverse proxy and latest version of Obsidian and Centos 7.
 
 
You can enable X-Sendfile by installing via repo and activate it in settings -> Apache webserver.
Enable X-Accel for Nginx, add following code to your additional Nginx config:

location /YOUR_FILE_OR_FOLDER {
internal;
alias /var/www/vhosts/SUBSCRIBTION/DOMAIN/PATH_TO_YOUR_FILE_OR_FOLDER;
}
 
I encountered the same issue as OP: Need those modules setup for WooCommerce. Strangely, no one with knowledge of the process has shared any detailed steps, particularly in Plesk. I'll update what I find here.

Installing Apache x-sendfile: I went to the SSH terminal in Plesk (for beginners, just search SSH in the Plesk search) and pasted the following command:

Code:
sudo apt-get install libapache2-mod-xsendfile && sudo a2enmod xsendfile

Source: Install Apache XSendFIle

While there are more steps in the github link, I only needed the first install command. Afterward, I checked my Apache settings in Plesk and it was already enabled.

Now I'm off to figure out how to add the Nginx config. I'm not sure if I need to find the actual file or paste something into the "additional nginx directives box". I wish a professional would offer some experienced insight in the meantime to solve this ago old hurdle in a concise way. So many people have given up ambitions after encountering problems like this and it's sad.
 
Back
Top