Help Center/ Migration Center/ Tool Guide/ Tool Discovery/ Configuring Collector Parameters/ Nginx Configuration Collector (app-discovery-nginx)
Updated on 2024-02-27 GMT+08:00

Nginx Configuration Collector (app-discovery-nginx)

This collector parses the configuration file of Nginx to obtain the Nginx redirection information. For details about the configuration parameters, see Table 1.

Table 1 Parameters for configuring the Nginx configuration collector

Parameter

Mandatory

Configuration

output_path

No

Enter the storage path of the collection result file (app-discovery-nginx-xxx.csv). If this parameter is left blank, the storage path defaults to <Collector installation path>\output\file.

Example: C:\Edge\tools\plugins\collectors\app-discovery-collectors\python\mgc-app-discovery-collectors\app-discovery-nginx\output\file\app-discovery-nginx-xxx.csv

max_rewrite

No

Specify the maximum number of rewrites to be queried. The value is an integer ranging from 1 to 20.

filedir

Yes

Enter the path of the folder where the nginx.conf file is stored.