help about limit_req

Reinis Rozitis r at roze.lv
Wed Jul 18 22:15:12 UTC 2012


> I tried to use the code you provided, I'll get an error message 'file not 
> found' (not 404)

Well I just copied over your existing config, to me this doesnt look right:

fastcgi_param  SCRIPT_FILENAME  /scripts$fastcgi_script_name;


I would suggest to replace it with:

fastcgi_param  SCRIPT_FILENAME    $document_root$fastcgi_script_name;


rr 



More information about the nginx mailing list