From 6ad24bf848c1b0f73676417dea9bc44f1ff009bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reynir=20Bj=C3=B6rnsson?= Date: Sat, 3 Dec 2022 13:22:24 +0100 Subject: [PATCH] social.data.coop: return 200 OK if datadog It's monitoring setup by someone else that we didn't opt into. --- roles/docker/files/configs/mastodon/vhost-mastodon | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/docker/files/configs/mastodon/vhost-mastodon b/roles/docker/files/configs/mastodon/vhost-mastodon index 61d7db8..7db10bb 100644 --- a/roles/docker/files/configs/mastodon/vhost-mastodon +++ b/roles/docker/files/configs/mastodon/vhost-mastodon @@ -1,2 +1,5 @@ listen 3000; client_max_body_size 50M; # default is 1M +if ($http_user_agent ~ "^Datadog/Synthetics$") { + return 200; +}