From 046abd3d17df4b0f32ee779d1414104f9dfc23f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reynir=20Bj=C3=B6rnsson?= Date: Sat, 3 Dec 2022 13:37:29 +0100 Subject: [PATCH] Use exact match --- roles/docker/files/configs/mastodon/vhost-mastodon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/docker/files/configs/mastodon/vhost-mastodon b/roles/docker/files/configs/mastodon/vhost-mastodon index 7db10bb..bae685b 100644 --- a/roles/docker/files/configs/mastodon/vhost-mastodon +++ b/roles/docker/files/configs/mastodon/vhost-mastodon @@ -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; }