Report this

What is the reason for this report?

using ssl on nginx , server send http://a.com/u/auth/google_h2/callbk instead of http://a.com/u/auth/google_2/callback when to google+ api

Posted on April 8, 2017

using ssl on nginx , but the server send http://aaa.com/users/auth/google_oauth2/callback instead of http://aaa.com/users/auth/google_oauth2/callback when trying thr google+ api, I tried everything , redirects are all good . and also getting errors of mixed content for font and script



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I tried but the same error, the request which is been send from server should be https but it sends http, I was doing the same thing on passenger with apache on aws , it was working fine , ie send http requests to google .

Please don’t put your entire question in the title. Use https for all resources to avoid mixed content.

This comment has been deleted

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.