Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

Need to match http://hostname//etc/passwd

$
0
0
Hi, I have a security issue in my software that makes the entire filesystem accessible to public like this: http://hostname//etc/passwd

I have already fixed but while i upgrade i need nginx to block this kind of requests (i'm using it as a reverse proxy). I've tried using:

location ~ ^//
location ~* //
location ~* ^//.*
and so on... none of them worked for me

Anyone knows how to do this? Thanks so much...

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>