Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQUEST] Support subdomain routing #129

Open
require-dev opened this issue Feb 23, 2023 · 5 comments
Open

[REQUEST] Support subdomain routing #129

require-dev opened this issue Feb 23, 2023 · 5 comments

Comments

@require-dev
Copy link

It would be great to support subdomain routing instead of just {domain}.stacks.run
Some projects I'm working in on use {subdomain}.{domain}.stacks.run

I'm assuming (custom) redbird resolvers would be the way forward here, but this might result in SSL certificate issues

@nabad600
Copy link
Collaborator

@require-dev, thanks for your valuable feedback. We will definitely look into this

@require-dev
Copy link
Author

Would love to help with this, but can’t seem to get Deck running from sources on my machine.

Is there a developer guide or some steps I need to go through?
(running on M1 Mac)

@nabad600
Copy link
Collaborator

Hi @require-dev, Thanks for your reply, please review the installation process.

https://www.loom.com/share/20eb23519f894a33971aaedc07b45031
Appreciate your feedback here. Let us know of any issues, we'd be happy to help.

@nabad600
Copy link
Collaborator

nabad600 commented Mar 6, 2023

Hi @require-dev,
thanks for your valuable feedback
Currently, multiple-layer sub-domain is not supported. (.sub-domain.stacks.run), only supported (.stacks.run), you can use *.stacks.run, i.e. {sub-domain}.stacks.run.

@require-dev
Copy link
Author

require-dev commented Mar 7, 2023

Hi @nabad600, I've implemented a working solution locally which routes *.stackname.stacks.run to the correct stack backend in docker.

Check the pull request attached above for more info.
Downside is that, while it does support SSL, it'll give an SSL warning about the subdomain

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

No branches or pull requests

2 participants