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

Mechanic needs a way to provide certificates for aliases #11

Open
matadur opened this issue Apr 15, 2018 · 5 comments
Open

Mechanic needs a way to provide certificates for aliases #11

matadur opened this issue Apr 15, 2018 · 5 comments

Comments

@matadur
Copy link

matadur commented Apr 15, 2018

I am unable to get aliases to redirect on HTTPS sites.

If I set canonical=true, the site fails with a 502 Bad Gateway error.

If I set canonical=false, the site resolves, but to myalias.mysite.com instead of redirecting to www.mysite.com.

https://www.mysite.com loads fine

My certs are for root & wildcard (issued by CloudFlare).

I've verified [email protected] is installed on the server.

What else can I check/try?

@boutell
Copy link
Member

boutell commented Apr 16, 2018 via email

@matadur
Copy link
Author

matadur commented Apr 16, 2018

It's not redirecting in the browser; the URL bar still shows the alias, e.g. myalias.mysite.com.

I've tried multiple browsers and networks also.

Is there something I need to manually configure in nginx to get it to redirect the browser?

@boutell
Copy link
Member

boutell commented Apr 16, 2018 via email

@boutell boutell changed the title Aliases still broken for HTTPS with 1.0.2 Mechanic needs a way to provide certificates for aliases Apr 16, 2018
@matadur
Copy link
Author

matadur commented Apr 17, 2018 via email

@boutell
Copy link
Member

boutell commented Apr 17, 2018

Well if there is only one cert involved, then I would expect it to work. Very hard to sort this out without access to the situation.

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