Update webstats_log.lua

This commit is contained in:
midoks
2022-12-01 12:33:09 +08:00
parent 99e8e63917
commit 66ff690bae
+3 -1
View File
@@ -43,7 +43,9 @@ log_by_lua_block {
local config = require "webstats_config"
local sites = require "webstats_sites"
local server_name = string.gsub(C:get_sn(ngx.var.server_name),'_','.')
-- string.gsub(C:get_sn(ngx.var.server_name),'_','.')
local server_name = ngx.var.server_name
C:setConfData(config, sites)