-
-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run WDTK over https #684
Comments
I'll use nginx to do SSL termination as a proof-of-concept for using it more widely. |
Glad this is finally being fixed! Sorry I made it such a mess. We were being really skinflint about On Tue, Oct 30, 2012 at 09:57:18AM -0700, Louise Crow wrote:
|
cert issued |
Installed and configured nginx as an SSL proxy on atlas, but some URIs returned by the site are absolute and thus still use http (see #692). |
Related issue #71 |
There's a proof of concept up and running over at https://www.righttoknow.org.au The lovely thing is that it hasn't required any code change to Alaveteli itself. The next steps:
What's the setup for ssl for https://www.righttoknow.org.au? We're using apache as the SSL terminator which is reverse proxying to varnish and varnish in turn is getting its requests from apache which is running passenger. The bit of magic is the line in the Apache configuration below which sets the header This ultimately tells Rails that the real requests are coming via https and so absolute urls should be served via https.
|
One issue that's surfaced so far is with the blog section of the site. It pulls in content from an external blog which is most likely running over http. This means that the page ends with a mixture of http and https. In Firefox that just means that the url isn't displayed with the "lock" symbol. In Chrome that means it shows the "lock" symbol with a warning next to it. I'm not sure how much of an issue this really is. I can't think of a simple fix that would work. The only general solution I can think of is to proxy all the content. We have to do this because things like images in a blog can come from anywhere and we can't be certain that a simply http -> https rewrite will work. Proxying the content seems like an awfully complex thing for very little benefit. What do you think? |
blog <-- easier perhaps just to run it at a separate HTTP blog subdomain? |
Closing this issue as https now enabled. Handling of blog ticketed at #880 |
This seems like the simplest pre-requisite for moving WDTK to use super user accounts for admin authentication, which we'd probably want to resolve before getting too far into #73.
The text was updated successfully, but these errors were encountered: