Category: Webservers

Plesk 12.5 Protected Directories Break Nginx/PHP-FPM

On Plesk 12.5, when using PHP-FPM with Nginx there’s a problem with the way protected directories are implemented. Each protected directory creates a “location” block in the Nginx config that proxies to Apache. So protected directories are implemented in Apache

Read More »

Turn off Keep-Alive for directory

Recently had a problem where Chrome browsers were not fully downloading a large PDF document. The first few 100KB would download but then the document would stop loading. After some debugging we concluded that Keep-Alive in Apache was creating the

Read More »

Force HTTP On Nginx

Simple configuration line to redirect HTTPS requests to HTTP:

Read More »

Enable Compression On Plesk With Nginx

To enable compression on a Plesk server with Nginx handling static content, had to add the following to .htaccess:

This configuration is explained here: https://www.a2hosting.com/kb/developer-corner/apache-web-server/data-compression-using-the-mod-deflate-module And then in Plesk under: Subscriptions -> acme.com -> Websites & Domains -> Web Server

Read More »

Get a free consultation from Reliable Penguin

Submit the form—or for immediate service call 866-649-7984.