• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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