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

check for hosts from every store view in http -> https redirect #1441

Merged
merged 1 commit into from
Aug 22, 2018

Conversation

andrewkett
Copy link
Contributor

The http to https redirect wasn't working for me. I figured out it was because my frontend website base urls were different to what we have at global scope. The existing code gets the base url from config and checks that the request host matches the configured base urls before doing the redirect. In my case this never matched as it was the admin base url not the frontend store view.

This pull requests fetches all secure and unsecure base urls from all store views and adds them all to the existing regex

@miguelbalparda
Copy link
Contributor

Sorry for the late reply, thanks a lot for this!

@miguelbalparda miguelbalparda merged commit 52e66f8 into nexcess:devel Aug 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants