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

Feature Request: Custom domain redirects (301/302) #1324

Open
vRune4 opened this issue Oct 23, 2024 · 2 comments
Open

Feature Request: Custom domain redirects (301/302) #1324

vRune4 opened this issue Oct 23, 2024 · 2 comments
Labels
Domains and certs enhancement New feature or request

Comments

@vRune4
Copy link

vRune4 commented Oct 23, 2024

Is your feature request related to a problem? Please describe.
My container app's customer domain is myapp.com. www.myapp.com should redirect to myapp.com.

The project contains a component that is licensed to serve only myapp.com. Pages served from www.myapp.com will inform users that I haven't bothered installing the license.

Describe the solution you'd like.
I would like to mark one of my custom domains as 'primary' and have the others respond with a 301 moved permanently.

Describe alternatives you've considered.
I will probably modify my project to perform a redirect from my code.

@vRune4 vRune4 added the enhancement New feature or request label Oct 23, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: triage 🔍 Pending a first pass to read, tag, and assign label Oct 23, 2024
@anthonychu
Copy link
Member

Thanks for the suggestion. Sounds like you're looking for something like the default domains feature in Azure Static Web Apps? We don't currently have plans for this in Container Apps. It's a good idea though and we'll evaluate it in the future.

@anthonychu anthonychu added Domains and certs and removed Needs: triage 🔍 Pending a first pass to read, tag, and assign labels Oct 29, 2024
@vRune4
Copy link
Author

vRune4 commented Oct 30, 2024

Thank you @anthonychu. The default domains feature is exactly what I'm looking for. Would be nice to have something like that for us container-aficionados as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Domains and certs enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants