ERROR: An error was detected in the configuration file. Please solve it before proceeding
nginx: [emerg] "lua_package_path" directive is duplicate in /www/server/panel/vhost/nginx/btwaf.conf:5
nginx: configuration file /www/server/nginx/conf/nginx.conf test failed
How can you solve the problem?
Below is the setting of btwaf.conf
lua_package_path "/www/server/btwaf/?.lua";
init_by_lua_file /www/server/btwaf/init.lua;
access_by_lua_file /www/server/btwaf/waf.lua;
#header_filter_by_lua_file /www/server/btwaf/header.lua;
body_filter_by_lua_file /www/server/btwaf/body.lua;