# Feature Request: Supporting variables in fastcgi\_pass

**URL:** <https://www.ruby-forum.com/t/feature-request-supporting-variables-in-fastcgi-pass/155133>\
**Category:** NGINX\
**Created:** [December 8, 2008, 2:28pm UTC](https://www.ruby-forum.com/t/feature-request-supporting-variables-in-fastcgi-pass/155133 "2008-12-08T14:28:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Samuel\_Vogel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a6a055/32.png) [@Samuel\_Vogel](https://www.ruby-forum.com/u/Samuel_Vogel)\
**Post date:** [December 8, 2008, 2:28pm UTC](https://www.ruby-forum.com/t/feature-request-supporting-variables-in-fastcgi-pass/155133/1 "2008-12-08T14:28:49Z")

</div>

Hey guys,

About two months ago I tried to use variables in the fastcgi\_pass  
directive.  
This didn’t work and Igor pointed out that it is not supported yet, but  
will be in the future.  
I really would like to know how the state of this feature is, and if I  
could accelerate the development by donating a little money to someone ?

Regards,  
Samy

---

<div class="post-metadata">

**Author:** ![Samuel\_Vogel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a6a055/32.png) [@Samuel\_Vogel](https://www.ruby-forum.com/u/Samuel_Vogel)\
**Post date:** [December 10, 2008, 7:37pm UTC](https://www.ruby-forum.com/t/feature-request-supporting-variables-in-fastcgi-pass/155133/2 "2008-12-10T19:37:54Z")

</div>

Igor S. schrieb:

> Try the attached patch.  
> It is against 0.7.26, but should be appropriate for 0.6.34  
> Thanks a bunch Igor! I will try this out in the next couple of days!  
> I hope the patch makes it into nginx’s main branch soon.

Regards,  
Samy

---

<div class="post-metadata">

**Author:** ![Samuel\_Vogel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a6a055/32.png) [@Samuel\_Vogel](https://www.ruby-forum.com/u/Samuel_Vogel)\
**Post date:** [December 10, 2008, 2:47pm UTC](https://www.ruby-forum.com/t/feature-request-supporting-variables-in-fastcgi-pass/155133/3 "2008-12-10T14:47:27Z")

</div>

On Mon, Dec 08, 2008 at 02:12:54PM +0100, Samuel Vogel wrote:

> About two months ago I tried to use variables in the fastcgi\_pass directive.  
> This didn’t work and Igor pointed out that it is not supported yet, but  
> will be in the future.  
> I really would like to know how the state of this feature is, and if I  
> could accelerate the development by donating a little money to someone ?

Try the attached patch.  
It is against 0.7.26, but should be appropriate for 0.6.34.

---

<div class="post-metadata">

**Author:** ![Samuel\_Vogel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a6a055/32.png) [@Samuel\_Vogel](https://www.ruby-forum.com/u/Samuel_Vogel)\
**Post date:** [December 10, 2008, 7:54pm UTC](https://www.ruby-forum.com/t/feature-request-supporting-variables-in-fastcgi-pass/155133/4 "2008-12-10T19:54:59Z")

</div>

On Wed, Dec 10, 2008 at 07:24:49PM +0100, Samuel Vogel wrote:

> Igor S. schrieb:
> 
> > Try the attached patch.  
> > It is against 0.7.26, but should be appropriate for 0.6.34  
> > Thanks a bunch Igor! I will try this out in the next couple of days!  
> > I hope the patch makes it into nginx’s main branch soon.

It’s already commited to the next 0.7.27.
