Once NGINX is installed, configuration is managed using text files located in the NGINX configuration directory, usually /etc/nginx. The main file is called nginx.conf, but most site-specific configurations are usually placed in separate files in the sites-available subdirectory.