rewrite rule for spesific url pattern

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



rewrite rule for spesific url pattern



recently my server was hit by unknown attacker, and on the log file i found lots of links with these :


188.114.110.199 - - [31/Aug/2018:13:08:17 -0400] "GET /?_=1535730766583 HTTP/1.1" 500 262 "-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 S
162.158.167.141 - - [31/Aug/2018:13:08:17 -0400] "GET /?_=1535725426589 HTTP/1.1" 500 262 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36"



i know you can use cloudflare to redirect some pattern , but how to do that in nginx ?



im going to redirect if GET url has pattern /?_= , and will be redirect to google.



please advise. thank you before.









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

Creating a leaderboard in HTML/JS