Welcome! Log In Create A New Profile

Advanced

Re: How to get nginx + uwsgi to exec, not display, perl cgi script?

Francis Daly
August 13, 2019 09:22AM
On Mon, Aug 12, 2019 at 09:37:49AM -0700, koocr@mailc.net wrote:

Hi there,

> I run Nginx as my webserver. Usually with PHP, using fpm.
>
> Gitweb's gitweb.cgi looks like it needs perl CGI.
>
> For perl cgi I'm trying to get it working with UWSGI,

Why?

UWSGI and CGI are different things.

For what it's worth, when I search Google for "nginx gitweb", the first
few results all suggest to use "fastcgi". (Which is also different from
CGI; but there are some well-known fastcgi-wrapper services that handle
those differences.)

When I search for "nginx gitweb uwsgi" there are not a lot of
immediately-obviously-relevant results.

So if the aim is "run gitweb, behind nginx", then probably "use fastcgi"
is the path of least resistance.

If the aim is to use uwsgi, then you will probably want to investigate
how to make *this* cgi script accessible via the uwsgi protocol --
maybe there is a generic uwsgi/cgi wrapping tool; or maybe this cgi
script has a works-with-another-protocol mode.

Good luck with it,

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How to get nginx + uwsgi to exec, not display, perl cgi script?

Anonymous User August 12, 2019 12:38PM

Re: How to get nginx + uwsgi to exec, not display, perl cgi script?

Francis Daly August 13, 2019 09:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 111
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready