Re: NGINX and linux

2018-04-03 Thread Jason A. Donenfeld
I run uwsgi+cgit on the actual cgit cgit repo. Here's the setup: krantz ~ # cat /etc/nginx/sites/cgit.conf server { listen 443 ssl http2; listen [::]:443 ssl http2; server_name git.zx2c4.com; access_log /var/log/nginx/cgit.access_log main; error_log /var/log

Re: NGINX and linux

2018-04-03 Thread Konstantin Ryabitsev
On 04/03/18 12:51, Georg Faerber wrote: >> Nginx doesn't support CGI directly, so you need to use fcgiwrap or an >> equivalent as a wrapper to run CGit. > I wouldn't recommend to use fcgiwrap, as this is deprecated. I'm running > cgit in production via uwsgi [1]. In case you need help setting it up

Re: NGINX and linux

2018-04-03 Thread Georg Faerber
Hi all, On 18-03-01 13:02:45, John Keeping wrote: > On Wed, Feb 28, 2018 at 08:37:17PM -0500, Rolan Pichler wrote: > > The README is for APACHE and unix systems. Would there be a way to > > get this working with nginx and on linux > > Nginx doesn't support CGI directly, so you need to use fcgiwra