NGINX's main configuration file is nginx.conf. This video gives an overview of nginx.conf and explains the different types of directives NGINX uses to configure settings.
- [Instructor] Let's take a closer look…at NGINX's main configuration file, etc/nginx/nginx.conf.…I should also add that the need…to edit nginx.conf is very rare,…so as I open the file, I'll even use the view command…to make sure I don't make any unwanted changes.…In this file, we'll find the settings for NGINX…listed as simple directives on one line,…or in blocks on multiple lines.…
These blocks start with a directive,…and are followed by an open bracket,…more directives, and then a closing bracket.…One example of a simple directive…is the user setting on the very first line.…This defines the user that the NGINX process will use…after it gets started by the root user.…An example of a block directive is the http block.…This is a directive that contains other directives.…For example, several lines down,…we find the logging settings for the access and error logs,…and a few lines beneath that,…we find two include statements,…include /etc/nginx/conf.d/*.conf,…and include /etc/nginx/sites-enabled/*.…
These tell the main configuration file…
- Installing NGINX on Linux
- Configuring a virtual host
- Installing PHP and MariaDB for the LEMP stack
- Securing sites with NGINX
- Creating SSL certificates
- Reverse proxies
- Load balancing
Skill Level Beginner
DevOps Foundations: Infrastructure as Codewith Ernest Mueller2h 6m Intermediate
1. Install and Configure NGINX
2. The Linux, NGINX, MySQL, and PHP Stack
3. NGINX Security
4. Reverse Proxies and Load Balancers
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.