Hi!
We are currently building a documentation for our products using hugo and docsy theme for docs versioning.
Our products have different versions and release strategies.
With this in mind, we planned to have a separate hugo repositories for each product and build each repository then service the public folders in nginx.
AAA ./public → /var/www/html/aaa
BBB ./public → /var/www/html/bbb
CCC ./public → /var/www/html/ccc
Then they are published to the same subdomain (docs.example.com) and do a url path based routing.
docs.example.com/aaa -> /var/www/html/aaa
docs.example.com/bbb -> /var/www/html/bbb
docs.example.com/ccc -> /var/www/html/ccc
The hugo docs is working as expected if they are published directory with our path base routing but if we added the url routing, the pages gets broken.
We tried several configurations and also added --baseURL but still same issue persists.
Are we missing something or is this setup viable?