Limit access to files in cgi-bin

dredfunk at gmail.com dredfunk at gmail.com
Sat Dec 1 14:26:41 UTC 2012


Hello,

I have a configuration file located at (example)
http://domain.com:82/cgi-bin/xxx.pm that can be accessed by anyone if they
know the address/file location. Is there a way to limit access to this
location from outside the server? I mean so no one can access it if they go
to that url?

I tried with rewrite but my main server must communicate with this file
located in cgi-bin and when rewrite is enabled the main server can't
communicate with that file either. Please advise.

Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20121201/d66530ff/attachment.html>


More information about the nginx mailing list