mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update webstats_common.lua
This commit is contained in:
@@ -201,7 +201,7 @@ end
|
||||
|
||||
function _M.get_http_origin(self)
|
||||
local data = ""
|
||||
local headers = request_header
|
||||
local headers = ngx_req.get_headers()
|
||||
if not headers then return data end
|
||||
if method ~='GET' then
|
||||
ngx.req.read_body()
|
||||
|
||||
Reference in New Issue
Block a user