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
http https #49
Comments
Not sure to fully understand your issue. The SSL config needs two keys:
To enable SSL your config should look like this: {
"ssl": {
"disabled": false,
"trustProxy": false
}
} |
You've hardcoded the protocol to http so on an https site everything breaks. I've fixed it for myself 'hacking' by changing admin/frontend.js line 1775 to Config.backendUrl = '';
This is saying hey you are on https site but you tried to use an http request I'm a browser and I don't like that so you can't do it. :) |
Good catch @gregbenner, we are working on it. |
We just fixed it : strapi/strapi-generate-admin@26626fb It will be published in Thanks again for your feedback @gregbenner |
@gregbenner: can you try the solution of @pierreburgy and give us your feedback please? |
looks like a solve to get the current host url, @pierreburgy |
remove all hardcoded protocols.....
also security ssl: true doesn't do anything?
example: $.get('//strapi-1-5-gregbenner.c9users.io', function(data) { }); will resolve http or https and work.
The text was updated successfully, but these errors were encountered: