log_nginx_config
v1.0.0
Published
generate Regex From Nginx Config
Downloads
2
Readme
nginx配置正则验证
安装
npm install log_nginx_config
配置
var log_nginx_config = require ('log_nginx_config');
var generateRegexFromNginxConfig = function (logFormat) {}
/* @Params: logFormat - 标准NGINX配置文件中对应log_format内容 */
if (logFormat == undefined || logFormat == null)
return null;