Can I block request by Cookie value in Nginx?

  ddos, http, nginx, php, tor

I want to block exact cookie value like PHPSESSID in Nginx. Does this possible?
My site under DDoS but I can’t block by IP due to shared addresses. Attackers use same value of Cookies so I try to block by cookie value.

Thanks

Source: Ask PHP

LEAVE A COMMENT