Use exact match
This commit is contained in:
parent
f4639b0fae
commit
046abd3d17
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue