2 ms·
Why are these tutorial framework specific? Just set up your nginx/lighttpd/apache to server traffic over HTTPS and set up redirects from http://example.com http
by IgorPartola 16y ago
Why are these tutorial framework specific? Just set up your nginx/lighttpd/apache to server traffic over HTTPS and set up redirects from http://example.com http://example.com to https://example.com https://example.com.
- patio11 16y ago"Just" setting up Nginx to redirect http:// http:// to https:// https:// just comprehensively broke your site if it previously existed on HTTP only and used some fairly common web dev practices, like splitting images over multiple domains to reduce load time. You now pop Big Scary Warnings all over the place.
- IgorPartola 16y agoThat's why I'd set up https://static.example.com https://static.example.com as well or use a CDN that already allows me to serve my static media over HTTPS. Once again, nothing to do with RoR.