NGINX Files and Directories
/etc/nginx
Default configuration root for the NGINX server.
-
/etc/nginx/nginx.conf- Default configuration entry point used by the NGINX service. Sets up worker processes, tuning, logging, loading dynamic modules and references to other NIGNX configuration files. -
/etc/nginx/conf.d/- Directory that contains the default HTTP server configuration file. Files in this directory ending in.confare included in the top-levelhttpblock from within the/etc/nginx/nginx.conffile. The best practice is to utulizeincludestatements and organize your configuration in this way to keep your configuration files concise. -
/var/log/nginx- The/var/log/nginxdirectory is the default log location for NGINX and includes anaccess.logcontaining an entry for each request served by NGINX and anerror.log.