Finds the NGINX configuration file and its base directory on the system. Adjusts the approach based on the operating system for better compatibility.
Module
NginxPaths
Sets the NGINX configuration path in the user configuration.
Attempts to set the NGINX executable path in the configuration based on the detected system paths or by querying the system environment. Adjusts the method based on the operating system to enhance compatibility.