Also set secure if the HTTP header 'X-Forwarded-Proto' is set to https. Allows reverse proxied HTTPS requests over regular HTTP.
Also set secure if the HTTP header 'X-Forwarded-Proto' is set to https. Allows reverse proxied HTTPS requests over regular HTTP.

svn commit r73125

nburka/site,silverorange/site,nburka/site,silverorange/site