0

In our team we use envoyproxy (v1.18) as load balancer to handle requests (btw I'm a newbie in using envoy). Now I want to see if the request that reaches envoy, is coming from a real user or it's from a google bot. As I read in the official documentation, in each request's header, there is something called "user-agent" that adds something into the request header which can be used for this purpose but I don't exactly know how to use it. And also I'm not sure whether that's the best way to do it. I'd appreciate if anyone could guide me on this.

Ali
  • 1
  • 1
  • The envoy configuration depends on what you want to do, if the request is orginated from a bot? You could definitely use the user-agent header to encouter a google bot. As described [here](https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers) there are various options what the user-agent header contains. – aemaem Nov 17 '22 at 15:47

0 Answers0