I thought I had set "fastcgi_param HTTPS on;" as described in the Habari wiki for nginx (http://wiki.habariproject.org/en/Installation_using_Nginx), but I was wrong. Properly defining that in the config worked, and Habari is using HTTPS exclusively now.
Thanks! On Sat, Dec 3, 2011 at 11:25 PM, mikelietz <[email protected]> wrote: > Looks like HTTPS needs to be set On in $_SERVER, looking at > https://github.com/habari/system/blob/master/classes/site.php#L147 > Does nginx not set that on an https:// request? > > mikelietz > > On Dec 3, 5:59 pm, Scott Merrill <[email protected]> wrote: >> I've just installed Habari 0.7 from git onto a Debian system. I'm >> using nginx, rather than Apache, and I've got it configured to only >> respond to HTTPS requests. >> >> I installed Habari successfully using HTTPS, but now Habari seems to >> want to use HTTP for requests. I can loadhttps://mysite/and get the >> initial page, but if I manually type inhttps://mysite/adminHabari is >> redirecting tohttp://mysite/auth/login. >> >> Is there anything I need to do within Habari to make it build only >> https:// URLs? >> >> Thanks, >> Scott > > -- > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/habari-users -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/habari-users
