Thanks again for the support the other day, that got us where we needed to be. In regards to API Gateway and ServiceStack, I wanted to know what you thought the best way to deal with API Gateway with a custom domain and ServiceStack services running from the root of that domain. Here is a brief explanation of the setup.
- We have a custom domain setup, i.e: mydomain.com
- We have 100+ microservices that run off of the root, i.e: mydomain.com/microservice1
I would love to run these each from the root but due to the complexities of custom domains and other factors, this setup makes the most sense when it comes to our build environment. Can you tell me what configurations would need to be set to properly run these services from these virtual directories (in essence, these work exactly like applications in IIS). We have some issues where we are getting 404 where we don’t think we should be.
I’ve tried a few scenarios but none of them are working 100%. I’ve tried using the proxy feature to forward the request to the microservices raw (AWS generated) URL. I’ve tried modifying the route attributes by overriding the GetRouteAttributes method. Let me know if I can provide you with any additional information if this isn’t enough.