文档首页/ 迁移中心 MGC/ 工具指南/ 工具采集/ 采集器参数配置说明/ Nginx配置文件采集器(app-discovery-nginx)
更新时间:2024-02-27 GMT+08:00

Nginx配置文件采集器(app-discovery-nginx)

根据Nginx下的config文件,解析获取Nginx的跳转信息。参数配置说明参见表1

表1 Nginx配置文件采集器参数配置说明

参数

必选

配置说明

output_path

自定义采集结果(app-discovery-nginx-xxx.csv文件)输出路径。不填则输出至默认路径:<采集器安装目录>\output\file目录下。

例如,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

设置rewrite最大的跳转次数,1≤取值范围≤20,取整数。

filedir

填写nginx.conf文件所在文件夹路径。