For Nginx: cloudflare Rails SSL error

0 votes
asked Feb 1, 2016 by ruggieri (1,920 points)
Please do share your thoughts. I had fully working Rails app running on nginx in ubuntu server.

4 Answers

–1 vote
answered Feb 3, 2016 by optimalcush (2,060 points)
selected Feb 4, 2016 by Thethe
Best answer
What would it take to build a ship capable of crossing the Pacific
commented Feb 4, 2016 by Fcr_55 (2,890 points)
With this code you get only the types that implement a defined interface
0 votes
answered Feb 2, 2016 by Eisnaugle (1,640 points)
Setting the urlSSL property fixes that at least.
commented Feb 3, 2016 by gno_you (1,190 points)
This problem still exists
0 votes
answered Feb 2, 2016 by sbhThe (1,300 points) 1 flag
Then add the following code to /usr/local/nginx/conf/nginx.
Add the following code to /usr/local/nginx/conf/nginx. The demo is here: Nginx Cloudflare & Incapsula (reverse proxy HttpRealIpModule) - LEMP Nginx web stack for CentOS anybody have an idea on how to get this working
+1 vote
answered Feb 3, 2016 by lautner (2,020 points)
What about this solution
I have written a small demo here with a solution: Redirect Loop SSL Nginx Cloudflare - Server Fault hope this helps

Related questions

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!