[SAC] [OSGeo] #2675: Have gitea proxy direct thru nginx

#2675: Have gitea proxy direct thru nginx
---------------------------+---------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2021-II
Component: Systems Admin | Keywords:
---------------------------+---------------------------------------
Gitea has a double proxy.

nginx proxies to tracsvn.lxd (apache service)
and the apache proxies to gitea.

Seems unnecessary having an extra hope.

I've changed dev to go direct from nginx -> gitea

and at a glance seems to work. I'll do some more tests and then do the
same on production.

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2675&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2675: Have gitea proxy direct thru nginx
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2021-II
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+----------------------------------------
Description changed by robe:

Old description:

Gitea has a double proxy.

nginx proxies to tracsvn.lxd (apache service)
and the apache proxies to gitea.

Seems unnecessary having an extra hope.

I've changed dev to go direct from nginx -> gitea

and at a glance seems to work. I'll do some more tests and then do the
same on production.

New description:

Gitea has a double proxy.

nginx proxies to tracsvn.lxd (apache service)
and the apache proxies to gitea.

Seems unnecessary having an extra hop.

I've changed dev to go direct from nginx -> gitea

and at a glance seems to work. I'll do some more tests and then do the
same on production.

--

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2675#comment:1&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2675: Have gitea proxy direct thru nginx
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: closed
Priority: normal | Milestone: Sysadmin Contract 2021-II
Component: Systems Admin | Resolution: fixed
Keywords: |
---------------------------+----------------------------------------
Changes (by robe):

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

Comment:

Done. Didn't seem to change the speed any. But doing a git clone from
dev is about 26.06 MiB/s vs. prod trac is like 888kb - 1.43 MiB/s to do a
git clone of postgis repo.

Might be cause I haven't restarted osgeo7 in a while or there is
throttling going on per server.

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2675#comment:2&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#2675: Have gitea proxy direct thru nginx
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
     Type: task | Status: closed
Priority: normal | Milestone: Sysadmin Contract 2021-II
Component: Systems Admin | Resolution: fixed
Keywords: |
---------------------------+----------------------------------------

Comment (by strk):

Great idea!

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2675#comment:3&gt;
OSGeo <https://osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.