Re: How to get gitweb setup with nginx + uwsgi?

2019-08-12 Thread koocr
Hi,

On Mon, Aug 12, 2019, at 12:16 PM, Konstantin Ryabitsev wrote:
> We have it working in a similar configuration, but with CGit instead of 
> GitWeb. Unless you have specific requirements to run GitWeb, I recommend 
> you use CGit for your web frontend, as it offers many features GitWeb 
> doesn't, such as caching -- plus it works really well with uwsgi 
> (git.kernel.org runs in that configuration).


Didn't realize that!  

I'd picked gitweb in the first place as I figured, being part of git, that 
kernel project would be using it.

Clearly I'm wrong.

Switching to CGit now.  Thanks for the suggestion.

I don't use Arch (Opensuse User), but am trying to follow their CGit + UWSGI + 
Gitolite docs:

https://wiki.archlinux.org/index.php/Cgit#Using_uwsgi

Since my distro pkgs have different paths, systemd setup, etc. having some 
challenges getting a everything-working-together config setup.  That'll just 
take some reading and staring ! ;-)

If you know of any other good examples , please share :-)

TA!


Re: How to get gitweb setup with nginx + uwsgi?

2019-08-12 Thread Konstantin Ryabitsev

On Mon, Aug 12, 2019 at 08:09:22AM -0700, ko...@mailc.net wrote:

Hi all.

I'm setting up a local Git server, with Gitweb + Gitolite.


We have it working in a similar configuration, but with CGit instead of 
GitWeb. Unless you have specific requirements to run GitWeb, I recommend 
you use CGit for your web frontend, as it offers many features GitWeb 
doesn't, such as caching -- plus it works really well with uwsgi 
(git.kernel.org runs in that configuration).


Best,
-K