This will be a bit broad but need some help to narrow down on what the possible issues could be.I have a web app with the Front-End on Vuejs and it's being SSR'd with a node (express) middleware.The site is currently serving 2 countries - it's hosted on an app-service in azure and using custom-domains to map multiple domains to the same IP (and app-service).In node, I'm using req.hostnameto identify the website being request and serve a configuration file for that country - this file drives most of the language and api stuff.The problem:since both domains are configured on the same IP address, at times, if multiple requests are fired for both sites simultaneously, there's some level of inconsistencies being observed; the site identity is not established correctly which causes config meant for one country being delivered to another.
Submitted November 14, 2019 at 03:38PM by d3athR0n
No comments:
Post a Comment