Ubuntu Unleashed 2019 Edition: Covering 18.04, 18.10, 19.04

(singke) #1

CHAPTER 26


Nginx Web Server Management


About   the Nginx   Web Server
Installing the Nginx Server
Configuring the Nginx Server
Virtual Hosting
Setting Up PHP
Adding and Configuring Modules
HTTPS
Reference

This chapter covers configuration and management of the Nginx web server


and includes an overview of some of the major components of the server and
discussions of server configuration. In this chapter, you learn how to start,
stop, and restart Nginx using the command line. The chapter begins with
some introductory information and then shows you how to install, configure,
and use Nginx.


About the Nginx Web Server


Pronounced “engine-x,” Nginx is a lightweight and extremely fast web server.
It is free and open source. Some well-known websites, such as GitHub,
Netflix, and WordPress.com, use Nginx because it is stable and fast under
high-traffic conditions while using few resources. It is not as configurable as
Apache, but for specific use cases, it is an excellent option and is quite easy to
set up and use.


NEWS
The W3Techs website, which tracks trends on the web, posted an article in
July 2013 titled “Nginx just became the most used web server among the
Free download pdf