From the course: Learning NGINX
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Add files to the root directory - Nginx Tutorial
From the course: Learning NGINX
Add files to the root directory
Now that I have a server configuration in place, let's add some content to the website. I'll start by cloning the exercise files to my server. From the GitHub page for this lesson, I'll select the copy icon for this git clone command so I can use it on the server. I'm connected to my sandbox server as the root user and I'm working from the slash root directory. From here, I'll run the git clone command that I copied from the exercise files. If I clear the screen and take a look at the exercise files that were downloaded, I can see two archives for the BinaryVille website, a zip archive and a tarred and gzipped archive. These archives have the html, images, and other files we'll need for the BinaryVille website. I'll be working with the tar archive and there's a command in the exercise files I can use to extract the website. Here's the command so I'll just select this and go back to the terminal. In the terminal…
Contents
-
-
-
Your NGINX learning environment20s
-
(Locked)
Install NGINX on Ubuntu2m 58s
-
(Locked)
The NGINX command-line interface3m 58s
-
(Locked)
NGINX files and directories3m 39s
-
(Locked)
Inside nginx.conf3m 39s
-
(Locked)
Configure a virtual host, part 14m 44s
-
(Locked)
Configure a virtual host, part 23m 16s
-
(Locked)
Add files to the root directory2m 14s
-
(Locked)
Challenge: Set up an NGINX server on Ubuntu Linux1m 24s
-
(Locked)
Solution: Set up an NGINX server on Ubuntu Linux3m 14s
-
-
-
-
-
-