Skip to content
This repository was archived by the owner on Mar 30, 2020. It is now read-only.

Comments

Enable the reverse to reach the backend on AWS#15

Open
alainperry wants to merge 2 commits intoxataz:masterfrom
alainperry:master
Open

Enable the reverse to reach the backend on AWS#15
alainperry wants to merge 2 commits intoxataz:masterfrom
alainperry:master

Conversation

@alainperry
Copy link

Before this change, the generated config used the backend container's name as the hostname to forward requests to. On AWS, this didn't work: you need to create a link and since you can't anticipate the name of the running container, the alias of the link is pretty much guaranteed not to be the backend's hostname. This change reads the reverse config to find the alias given by the user to the backend container, which is indeed resolvable and makes it all work.
Disclaimer: I didn't get the chance to check if the change breaks things outside of AWS, since I don't have access to an infrastructure that would allow me to do so. My guess is it won't as long as a link is setup from the reverse to the backend.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant