Deny requests of any file without authentication

I’ve asked this question before without success. So I come here begging
for help because I’m going crazy spending nights without a god damn
answer =( I really don’t know what to do, I tried some things but it’s a
big mess:

Configuration of Nginx: http://codeviewer.org/view/code:1128
CheckReq.php: http://codeviewer.org/view/code:1129

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,120496,120496#msg-120496

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs