Recent content by lethol

  1. L

    Denying .git sub directory access

    Hi Mark, thanks for your reply. I do have the location deny all rule in place in my config. The point I was trying to make is that it will not deny access to specific individual files as the samples I provided. It may be some other rule in the config that I’m missing but I’m failing to find...
  2. L

    Denying .git sub directory access

    Hi all, I got an email today from what appears to be an ethical hacker pointing out to public available information that could be used for vulnerability discovery and may be a good idea to limit access to it. Apparently the current nginx rule to deny acccess to .git directory does not cover all...