List for cgit developers and users
 help / color / mirror / Atom feed
* FastCGI integration for cgit?
@ 2013-04-13  8:51 lekensteyn
  2013-04-13  9:34 ` john
  2013-04-15 14:32 ` Jason
  0 siblings, 2 replies; 4+ messages in thread
From: lekensteyn @ 2013-04-13  8:51 UTC (permalink / raw)


Hi all,

I am investigating the options for deploying cgit+gitolite. As I am running 
nginx, I have to use fastcgi or something similar.

Some resources that I found during a search:

- http://russellhaering.com/2009/12/22/running-cgit-under-nginx/
- https://gist.github.com/stran12/1394757
- http://polemon.org/cgit_nginx
- http://blog.zx2c4.com/293

Their instructions however, do suggest the use of nginx + spawn-cgi + fcgiwrap 
+ cgit. I have some issues with it:

- Even if nginx and cgit run as different users, nginx can still run arbitrary 
commands under the rights of cgit (via SCRIPT_FILENAME).
- If the only goal of fcgiwrap is to run cgit, why fcgiwrap at all and not 
integrate it into cgit?

So I was wondering if somebody has already considered integrating fastcgi into 
cgit or other experiences with a nginx+(fastcgi+)cgit setup? I do not expect 
much traffic, but still want to have a secure (isolated) setup with predictable 
resource use.

Regards,
Peter




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-04-15 14:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-13  8:51 FastCGI integration for cgit? lekensteyn
2013-04-13  9:34 ` john
2013-04-15 14:32 ` Jason
2013-04-15 14:44   ` fcgiwrap+nginx configuration (was: Re: FastCGI integration for cgit?) lekensteyn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).