Having an account on TextDrive, I’m used to setting up Rails applications on Lighttpd, and setting up Apache as a reverse proxy. Turns out it’s a bit harder when you throw two additional requirements in the mix: having the Rails application live in a sub-directory (instead of its own virtual host), and using SSL.
After a lot of false starts, I came across this article on setting up Typo in a sub-directory, which works great (after I recompiled lighttpd w/ PCRE support). However, that article talks about a setup without SSL. Under SSL, the links work fine, but whenever there’s a redirect, Rails would use http:// instead of https://. A bit more searching later, and I found an article with a fix and another article explaining the redirect problem in more depth.
0 responses so far ↓
There are no comments yet... Kick things off by filling out the form below.
Leave a Comment