Quantcast
Channel: Nginx Forum - Nginx Mailing List - English
Viewing all articles
Browse latest Browse all 7229

Block spefic URL (no replies)

$
0
0
Hello,
I'm trying to block such kind of URL

https://mysite.com/#id=826c99368cc93a894267703e0fc2ed46

Tried
if ( $request_uri = https://mysite.com/#id=826c99368cc93a894267703e0fc2ed46) {
return 444;
}

location ~* https://mysite.com/#id=826c99368cc93a894267703e0fc2ed46 {
deny all;
}

if ( $query_string = "826c99368cc93a894267703e0fc2ed46" ) {
return 404;
}

No one of this solution didn't help

Viewing all articles
Browse latest Browse all 7229

Trending Articles



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