From the course: Linux Tips

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

NGINX web server

NGINX web server - Linux Tutorial

From the course: Linux Tips

NGINX web server

- NGINX is a popular web server that can also be used as a cache and a proxy. Let's take a look at how to install and configure it on Ubuntu. (keyboard clicking) First, I'll install the software with apt install nginx. After installing, the service starts up and we'll have a web server running on port 80, as long as there isn't something else on that port already. (keyboard clicking) I'll open a web browser and visit local host. And there's the nginx placeholder page. The software is working. Let's explore the configuration a little bit and see where the files the web server serves are stored. (keyboard clicking) Inside of etc nginx, we'll find a few files that determine how the software works. One of these is nginx.conf, the primary configuration file for the software. (keyboard clicking) I'll open that up so we can take a quick look. Here we can see the system mark configurations for the software, things like,…

Contents