Skip to content

Domain switching#319

Merged
fubarhouse merged 7 commits intomainfrom
domain-switch
May 27, 2021
Merged

Domain switching#319
fubarhouse merged 7 commits intomainfrom
domain-switch

Conversation

@fubarhouse
Copy link
Copy Markdown
Collaborator

This PR basically eliminates the need for hard-coded domains.
Would be handy in the event the domain needed to be changed - it's even configurable.

Signed-off-by: Karl Hepworth <karl.hepworth@gmail.com>
Signed-off-by: Karl Hepworth <karl.hepworth@gmail.com>
Signed-off-by: Karl Hepworth <karl.hepworth@gmail.com>
@tobybellwood
Copy link
Copy Markdown
Collaborator

Can this support multiple domains? IE the default, but also an additional one?

Signed-off-by: Karl Hepworth <karl.hepworth@gmail.com>
Signed-off-by: Karl Hepworth <karl.hepworth@gmail.com>
@fubarhouse
Copy link
Copy Markdown
Collaborator Author

fubarhouse commented May 26, 2021

Well, it would be possible to add a second resolver based upon input domains.
Would the idea be that you have an entire stack of pygmy containers for each domain?

Not entirely sure what that would look like, but the idea is that this makes that goal a little easier. It'll remove a blocker for that later down the line, if that is intended.

edit: I remember there is a PR for multiple domain support in haproxy - perhaps that model would be a good starting point. If that was configured then yes, it would require minimal work for pygmy to support.

Signed-off-by: Karl Hepworth <karl.hepworth@gmail.com>
@fubarhouse
Copy link
Copy Markdown
Collaborator Author

@tobybellwood see here for example:
amazeeio/docker-haproxy#3

That would be freaking sweet actually and pygmy would do it, but it's not something I have influence over.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants