Use 203 Non-Authoritative Information

> This response code means the returned metadata is not exactly the same
> as is available from the origin server, but is collected from a local
> or a third-party copy. This is mostly used for mirrors or backups of
> another resource. Except for that specific case, the 200 OK response
> is preferred to this status.
This commit is contained in:
Reynir Björnsson 2022-12-03 13:41:24 +01:00
parent 046abd3d17
commit fb0be35572

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 203;
} }