[SAC] [OSGeo] #2300: osgeo.org change password not working

OSGeo trac_osgeo at osgeo.org
Wed May 1 16:28:20 PDT 2019


#2300: osgeo.org change password not working
---------------------------+---------------------------------------
 Reporter:  robe           |       Owner:  sac@…
     Type:  task           |      Status:  closed
 Priority:  normal         |   Milestone:  Sysadmin Contract 2019-I
Component:  Systems Admin  |  Resolution:  fixed
 Keywords:                 |
---------------------------+---------------------------------------
Changes (by robe):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 The issue was that since I have id.osgeo.org on osgeo7 now, I had switched
 to using the http mode since nginx is handling the https.

 But apache is still seeing the connection as http which evidentally this
 piece of code relies on it being https.  I had similar issue with
 dev.osgeo.org and was able to resolve there by setting the


 {{{
 if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false)
        $_SERVER['HTTPS']='on';
 }}}


 https://codex.wordpress.org/Administration_Over_SSL

 The article says you can do something similar with the .htaccess file, but
 not quite sure where on the server this is.

 So what I ended up doing is turning back on ssl mode and proxying thru
 ssl.

 The certificate it is will expire today (but I don't think that muuch
 matters to it or nginx) since nginx trusts it and will ignore the
 expiredness and nthe client browser is responsible for checking the
 certificate is valid and will be given the valid letsencrypt nginx cert.

-- 
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2300#comment:1>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.


More information about the Sac mailing list