# Lua / FastCGI / Nginx / Gentoo

**URL:** <https://www.ruby-forum.com/t/lua-fastcgi-nginx-gentoo/199552>\
**Category:** NGINX\
**Created:** [November 24, 2010, 12:16am UTC](https://www.ruby-forum.com/t/lua-fastcgi-nginx-gentoo/199552 "2010-11-24T00:16:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/77aa72/32.png) [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Post date:** [November 24, 2010, 12:16am UTC](https://www.ruby-forum.com/t/lua-fastcgi-nginx-gentoo/199552/1 "2010-11-24T00:16:58Z")

</div>

Hi Nginxkys,

I posted an article recently on how to get Lua to work in Nginx, on  
gentoo.

It’s a pretty complete walk through that illustrates the whole fastcgi  
issue, specifically with Nginx and gentoo.

[http://www.eonblast.com/blog/lua-nginx-gentoo/](http://www.eonblast.com/blog/lua-nginx-gentoo/)

Maybe it saves somebody time and nerves.

Critique and Feedback welcome.

Best,

Henning

---

<div class="post-metadata">

**Author:** ![Henning\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/a9adbd/32.png) [@Henning\_D](https://www.ruby-forum.com/u/Henning_D)\
**Post date:** [November 24, 2010, 4:31am UTC](https://www.ruby-forum.com/t/lua-fastcgi-nginx-gentoo/199552/2 "2010-11-24T04:31:27Z")

</div>

On Wed, Nov 24, 2010 at 7:15 AM, Henning D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Hi Nginxkys,
> 
> I posted an article recently on how to get Lua to work in Nginx, on gentoo.

Have you ever checked out our ngx\_lua module? 😉

```
http://github.com/chaoslawful/lua-nginx-module

```

For IO-intensive applications, it should have much better performance  
than the FastCGI approach because it integrates Lua coroutines  
directly into the nginx event model 🙂

Thanks!  
-agentzh
