-
Notifications
You must be signed in to change notification settings - Fork 3
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
Redirect www to main domain #51
Comments
Can you explain in little bit more detail what exactly do you want to achieve here?
Does this rule apply to every domain that we have? Also, there seems to be some kind of misconfiguration in OVH i think for pah-fm? So maybe
I'm pretty sure that all domains described in this repo are SSL-only. I've checked it quickly with few links and all of them redirect me to https. |
To clarify - these are two different things:
I'm certain that we handle the first one in all our CloudFront distributions (see: https://github.com/CodeForPoznan/Infrastructure/blob/master/cloudfront_distribution/main.tf#L64 and https://github.com/CodeForPoznan/Infrastructure/blob/master/cloudfront_distribution/main.tf#L85) so
that's not true. The second thing (www redirect) - I don't believe we have to redirect for all domains (or CloudFront distributions), but I believe we should enable such solution for critical one. I would prefer to have it set using parameter passed to
|
Also I don't know what do you mean here as this domain is served from AWS Route 53 zone. |
Make that default behavior of CloudFront distribution.
See: https://aws.amazon.com/premiumsupport/knowledge-center/redirect-domain-route-53/ (plus another CloudFront distro in front to handle possible HTTPS traffic).
The text was updated successfully, but these errors were encountered: