# Running CGI scripts in nginx via uWSGI

**URL:** <https://www.ruby-forum.com/t/running-cgi-scripts-in-nginx-via-uwsgi/214753>\
**Category:** NGINX\
**Created:** [December 11, 2011, 7:21pm UTC](https://www.ruby-forum.com/t/running-cgi-scripts-in-nginx-via-uwsgi/214753 "2011-12-11T19:21:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [December 11, 2011, 7:21pm UTC](https://www.ruby-forum.com/t/running-cgi-scripts-in-nginx-via-uwsgi/214753/1 "2011-12-11T19:21:48Z")

</div>

Hi everyone, i have just released a cgi\_plugin for the uWSGI server.

This allows nginx to easily run cgi scripts passing requests to the  
uWSGI  
server (very similar to the current fcgiwrap solution, but with all of  
the  
features of uWSGI and with an implementation fully compatible with  
apache)

Here is a preliminary doc:

[http://projects.unbit.it/uwsgi/wiki/CGI](http://projects.unbit.it/uwsgi/wiki/CGI)

The plugin should be versatile enough to support all of the cgi  
most-exotic functions out there.

tested apps:

bugzilla (perl)  
mailman (c+python)  
viewvc (python)  
drupal (php)  
prestashop (php)  
magento (php)

Currently you have to build the plugin via mercurial, but i plan to  
release another -rc for 1.0 branch soon.

–  
Roberto De Ioris  
[http://unbit.it](http://unbit.it)
