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

April 8, 2017 364 views
Server Optimization Ubuntu

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

3 Answers

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

  • 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 .

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 .

Have another answer? Share your knowledge.