#2288 closed task (fixed)
Create an LXD snapshot of www.osgeo.org (web18a)
Reported by: | robe | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | Sysadmin Contract 2019-I |
Component: | SysAdmin | Keywords: | |
Cc: |
Description (last modified by )
Right now www.osgeo.org 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 , 6 years ago
Description: | modified (diff) |
---|---|
Summary: | Create an LXD snapshot of www.osgeo.org → Create an LXD snapshot of www.osgeo.org (web18a) |
comment:2 by , 6 years ago
comment:3 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Okay figured out the problem and moved staging.www.osgeo.org 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 , 6 years ago
Description: | modified (diff) |
---|
I created an lxd containerized version of it on osgeo7 and called it dev.www.osgeo.org
but for some reason it seems to want to redirect infinitely. I had updated the database replace www.osgeo.org with / but that didn't seem to fix the issue. Might be something cached.
I can get to internal pages like this:
https://dev.www.osgeo.org/projects/postgis/