Captcha - No Caching?
Maik Unger
lists at ruby-forum.com
Fri Jul 15 12:15:58 UTC 2011
Hello Everybody,
I have a Caching problem with any captcha pictures in nginx.
HTTP-Header: GET /index.php?eID=sr_freecap_captcha&id=650
How can I tell nginx, that he will not caching this request, when there
is the following string:
eID=sr_freecap_captcha
Config:
set $captcha_caching 1;
if ($arg_eID ~ 'sr_freecap_captcha')
{
set $captcha_caching 0;
}
if ($captcha_caching = 0)
{
break;
}
What is wrong with this config above?
Regards,
Maik
--
Posted via http://www.ruby-forum.com/.
More information about the nginx
mailing list