1
0
Selaa lähdekoodia

Update meta-server user agent rule (#4357)

* Update meta-server user agent rule
l1.media 1 vuosi sitten
vanhempi
commit
c4914b22a3
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      ci/nginx/default.conf.template

+ 1 - 1
ci/nginx/default.conf.template

@@ -17,7 +17,7 @@ server {
     server_tokens off;
 
     location / {
-        if ($http_user_agent ~* "baiduspider|twitterbot|facebookexternalhit|rogerbot|linkedinbot|embedly|quora link preview|showyoubot|outbrain|pinterest|slackbot|vkShare|W3C_Validator") {
+        if ($http_user_agent ~* "googlebot|YandexBot|baiduspider|twitterbot|facebookexternalhit|discordbot|rogerbot|linkedinbot|embedly|quora link preview|showyoubot|outbrain|pinterest|slackbot|vkShare|W3C_Validator|Rocket.Chat|Minds|Taringa|redditbot") {
             proxy_pass http://${META_SERVER_HOSTNAME};
             break;
         }