diff --git a/proxy/nginx-goodbot200.conf b/proxy/nginx-goodbot200.conf index ad98a992..828be8e6 100644 --- a/proxy/nginx-goodbot200.conf +++ b/proxy/nginx-goodbot200.conf @@ -1,10 +1,11 @@ -# prevent top 6 bots from entering data into /_tracking +# prevent top 7 bots from entering data into /_tracking ## Googlebot/ ## Y!J ## Yeti ## Bytespider ## Applebot ## HeadlessChrome +## facebookexternalhit and developers.facebook.com set $botstracking 0; @@ -12,7 +13,7 @@ if ($uri = "/_tracking") { set $botstracking 1; } -if ($http_user_agent ~ 'Googlebot/|Y!J|Yeti|Bytespider|Applebot|HeadlessChrome') { +if ($http_user_agent ~ 'Googlebot/|Y!J|Yeti|Bytespider|Applebot|HeadlessChrome|facebook') { set $botstracking "${botstracking}1"; }