local env = ngx.var.ENV
-- env == testing
--local urlConf = require "pushGateWay.config.testing.url"
local urlConf = require 'pushGateWay.config.' .. env .. '.url'
这样加载一个文件, 提示错误
2017/06/12 17:54:37 [error] 4309#0: *142031 lua entry thread aborted: runtime error: /home/work/nginx/nginx/../pushGateWay/push.lua:23: module 'pushGateWay.config.' not found:
no field package.preload['pushGateWay.config.']
no file '/home/work/nginx/nginx/../pushGateWay/config/.lua'
看错误日志, 应该是变量后面的都没有解析
请教应该怎么写呢