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
Change default from Dynamic GET and POST to just POST requests with XMLHttpRequest object the reason being is to avoid unwanted conflicts with caches on proxy servers / services (Cloudflare proxy being a prime culprit of this).
This commit is contained in:
@ -85,7 +85,7 @@ The type of javascript based pingback authentication method to use if it should
|
|||||||
2 = POST
|
2 = POST
|
||||||
3 = DYNAMIC
|
3 = DYNAMIC
|
||||||
]]
|
]]
|
||||||
local javascript_REQUEST_TYPE = 3 --Default 3
|
local javascript_REQUEST_TYPE = 2 --Default 2
|
||||||
|
|
||||||
--[[
|
--[[
|
||||||
Timer to refresh auth page
|
Timer to refresh auth page
|
||||||
|
Reference in New Issue
Block a user