December 2017
Intermediate to advanced
316 pages
6h 58m
English
There are a few important Nginx paths we need to know about to work with the proxy server. In Nginx, we can host multiple sites (www.example1.com, www.exampl2.com, and so on) at the same time. Take a look at the following table:
| Type | Path | Description |
| Configuration | /etc/nginx/nginx.con | This is the base Nginx configuration file. It can be used as the default file. |
| Configuration | /etc/nginx/sites-available/ | If we have multiple sites running within Nginx, we can have multiple configuration files. |
| Configuration | /etc/nginx/sites-enabled/ | These are the sites activated currently on Nginx. |
| Log | /var/log/nginx/access.log | This log file records the server activity, such as timestamp and API endpoints. |
| Log | /var/log/nginx/error.log ... |