December 01, 2012 09:28AM

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!
nginx mailing list
Subject Author Posted

Limit access to files in cgi-bin

dredfunk@gmail.com December 01, 2012 09:28AM

Re: Limit access to files in cgi-bin

Jonathan Matthews December 01, 2012 10:30AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 89
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready