Use exact match

This commit is contained in:
Reynir Björnsson 2022-12-03 13:37:29 +01:00
parent f4639b0fae
commit 046abd3d17
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
listen 3000;
client_max_body_size 50M; # default is 1M
if ($http_user_agent ~ "^Datadog/Synthetics$") {
if ($http_user_agent = "Datadog/Synthetics") {
return 200;
}