I deploy a single page application in apache and looking for using rendertron to render a static page for the user agent, but seems the apache failed to redirect the user agent to the specific rendertron. Rendertron is working as well as the proxy_http_module and rewrite_module were already enabled.
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} bot|googlebot|bingbot|yandex|baiduspider|SkypeUriPreview|facebookexternalhit|twitterbot|rogerbot|linkedinbot|embedly|showyoubot|outbrain|pinterest\0.|developers.google.com/+/web/snippet|slackbot|vkshare|redditbot|applebot|whatsapp|TelegramBot|w3c_validator|rsiteauditor|sitecheckerbotcrawler|seositecheckup|seobilitybot
RewriteRule ^(.*)$ http://x.x.x.x:3000/render/https://exmaple.com/$1 [P,L]