Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#2288 closed task (fixed)

Create an LXD snapshot of (web18a)

Reported by: robe Owned by: sac@…
Priority: normal Milestone: Sysadmin Contract 2019-I
Component: SysAdmin Keywords:

Description (last modified by robe)

Right now is running on a cloud instance provided by OSUOSL (called web18a). We should both for disaster recovery and for having a test environment. Have another server with same setup. then we can test installing things on it before we install on the real one and also do some benchmarking.

cvvergara said server is slow at the moment too.

I plan to using lxd2pc make an image of it and deploy that on osgeo7 as a wordpress test environment. I'll call it wordpress-dev.

Change History (4)

comment:1 by robe, 5 years ago

Description: modified (diff)
Summary: Create an LXD snapshot of www.osgeo.orgCreate an LXD snapshot of (web18a)

comment:2 by robe, 5 years ago

I created an lxd containerized version of it on osgeo7 and called it

but for some reason it seems to want to redirect infinitely. I had updated the database replace with / but that didn't seem to fix the issue. Might be something cached.

I can get to internal pages like this:

comment:3 by robe, 5 years ago

Resolution: fixed
Status: newclosed

Okay figured out the problem and moved when I was originally troubleshooting to rule out domain.

The issue was how wordpress determines if it's in SSL mode and since nginx has the ssh key - it needed to read the HTTP_X_FORWARDED_PROTO

as documented here:

So I revised the wp-config on staging and dev to handle.

I also needed to make changes to ngix proxy_protocol include I had for nginx which I'll commit shortly to gitea.

comment:4 by robe, 5 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.