Install Nginx

type
status
date
slug
summary
tags
category
icon
password

Installation

After installation, it is usually located in /etc/nginx

Check the service status

Start the service

Rename nginx.conf and create a new empty file

Write the first configuration file

How to validate the configuration file

If you have any syntax errors, this command will let you know about them, including the line number.
Although the configuration file is fine, NGINX will not use it.
The way NGINX works is it reads the configuration file once and keeps working based on that.

How to reload the configuration file

Reference article

Provision Local Virtual MachineUnderstand Directives And Contexts
Loading...
Catalog