# Ngx\_supervisord configuration

**URL:** <https://www.ruby-forum.com/t/ngx-supervisord-configuration/192999>\
**Category:** NGINX\
**Created:** [August 9, 2010, 9:02pm UTC](https://www.ruby-forum.com/t/ngx-supervisord-configuration/192999 "2010-08-09T21:02:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JCR](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/258eb7/32.png) [@JCR](https://www.ruby-forum.com/u/JCR)\
**Post date:** [August 9, 2010, 9:02pm UTC](https://www.ruby-forum.com/t/ngx-supervisord-configuration/192999/1 "2010-08-09T21:02:15Z")

</div>

Hello,

I am struggling with the configuration of ngx\_supervisord. My goal is to  
use that module to spawn instance of a C++ fastcgi program on demand.  
What puzzles me is that from the example  
([GitHub - FRiCKLE/ngx\_supervisord: nginx module providing API to communicate with supervisord and manage (start/stop) backends on-demand.](http://github.com/FRiCKLE/ngx_supervisord)), I understand the changes I  
have to make to the nginx.conf file but what about the  
/etc/supervisord.conf file; should I have a section for [fcgi-program]?

> From the example it looks like that I should have a [program section but  
> it also appears that I need one for reach of the backend, which is  
> strange because I am relying on ngx\_supervisord to start those backens  
> as needed.  
> Maybe a few words to help me clarify the whole thing or maybe a pointer  
> to some configurations serving my goal

Thanks

Posted at Nginx Forum:

> **[ngx\_supervisord configuration](https://forum.nginx.org/read.php?2,117953,117953#msg-117953)**
>
> Hello, I am struggling with the configuration of ngx\_supervisord. My goal is to use that module to spawn instance of a C++ fastcgi program on demand. What puzzles me is that from the example (http://github.com/FRiCKLE/ngx\_supervisord), I understand...

---

<div class="post-metadata">

**Author:** ![JCR](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/258eb7/32.png) [@JCR](https://www.ruby-forum.com/u/JCR)\
**Post date:** [August 9, 2010, 10:14pm UTC](https://www.ruby-forum.com/t/ngx-supervisord-configuration/192999/2 "2010-08-09T22:14:16Z")

</div>

You should ask Grzegorz N. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) at first,  
the author of ngx\_supervisord.

On Mon, Aug 09, 2010 at 03:01:01PM -0400, JCR wrote:

> strange because I am relying on ngx\_supervisord to start those backens  
> as needed.  
> Maybe a few words to help me clarify the whole thing or maybe a pointer  
> to some configurations serving my goal
> 
> Thanks

–  
Sergey A. Osokin,  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
