← ServerPilot Docs

Nginx

How ServerPilot Configures Your LAMP/LEMP Stack

ServerPilot configures a LAMP/LEMP stack on your server. LAMP stands for Linux + Apache + MySQL + PHP. As ServerPilot also configures Nginx on your server, this is sometimes called a LEMP stack because Nginx is pronounced "

Why ServerPilot Installs Its Own Nginx, Apache, and PHP Packages

ServerPilot builds our own "deb" packages of Nginx, Apache, and PHP. We do not install the versions of these provided by Ubuntu.

How to Enable PageSpeed

Nginx is no longer built with the PageSpeed module. Due to Google discontinuing development of the PageSpeed module, this module is no longer included with ServerPilot's Nginx build.

How to Enable Nginx Stub Status Module

Careful, don't break your server! You should first read the article on customizing Nginx. To enable the HTTP Stub Status module for Nginx, create the file:

Customizing the Nginx Configuration

Careful! We can't provide support for customizations or for any errors, downtime, or vulnerabilities you introduce through customizations. Unless you're absolutely sure about what you're doing, you should stop now!

How to Create a LEMP Stack (Only Nginx, No Apache)

Careful, don't break your server! This customization is not supported by ServerPilot. You should first read the article on customizing Nginx.

How to Enable Gzip Compression

This article is out-of-date! Please see "Gzip Compression is Enabled by Default" for an updated article. To enable gzip compression, create the file:

Launch your first site in 5 minutes