title: How to prevent unusual requests in spring boot?
body: <p>I have a spring boot application run on a server and after some days I saw some unusual requests are coming. Some of the requests are as follows,</p>
  <pre><code>HEAD /bin
  GET /.env
  GET /api
  GET /help
  GET /vendor/phpunit
  GET /phpmyadmin
  GET /wp-admin
  </code></pre>
  <p>So is there an option or any solution to not to hit those requests to server or prevent these requests in spring boot?</p>