Use exact match

This commit is contained in:
Reynir Björnsson 2022-12-03 13:37:29 +01:00
parent f4639b0fae
commit 046abd3d17

View file

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