So I have my publisher server serving an AEM app over port 4503 and a react app over port 3480. Both render fine when accessing through the publisher url IP:port.
The problem I'm having is with my dispatcher server.
In my dispatcher.any I have 2 renderers
/renders
{
/renderer1
{
/hostname "publisher-ip"
/port "4503"
}
/renderer2
{
/hostname "publisher-ip"
/port "3480"
}
}
Then I have my /filters which allow urls for both renderers. But when loading either of my sites it doesn't know which renderer to get the content from. Both web apps have the same dispatcher url dispatcher.com just the paths are different.
Is there anyway to specify which renderer a filter with choose from? Currently if I keep refreshing the page eventually it will get most resources from one renderer but it's always random.
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi,
I think you need to use a reverse proxy to route the requests properly, please check this thread: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/dispatcher-configuration-f...
Hope this helps
Hi,
I think you need to use a reverse proxy to route the requests properly, please check this thread: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/dispatcher-configuration-f...
Hope this helps
@amezcua1 you can control it via rendered virtual hosts settings
/farms
{
/myProducts
{
/virtualhosts
{
"www.mycompany.com/products/*"
}
/renders
{
/hostname "server1.myCompany.com"
/port "80"
}
}
/myCompany
{
/virtualhosts
{
}
/renders
{
/hostname "server2.myCompany.com"
/port "80"
}
}
}
Please refer to adobe detailed documentation for reference
@amezcua1 Did you find the suggestions from users helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies