mirror of
https://github.com/C0nw0nk/Nginx-Lua-Anti-DDoS.git
synced 2023-12-14 04:31:21 +00:00
Update anti_ddos_challenge.lua
Reinstate variable that originaly was there but got accidently removed in last patch.
This commit is contained in:
@ -486,6 +486,7 @@ local function grant_access()
|
||||
local cookie_value = ngx.var[cookie_name] or ""
|
||||
--our start date cookie
|
||||
local cookie_name_start_date_name = "cookie_" .. cookie_name_start_date
|
||||
local cookie_name_start_date_value = ngx.var[cookie_name_start_date_name] or ""
|
||||
local cookie_name_start_date_value_unix = tonumber(cookie_name_start_date_value)
|
||||
--our end date cookie
|
||||
local cookie_name_end_date_name = "cookie_" .. cookie_name_end_date
|
||||
|
Reference in New Issue
Block a user